home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1988-05-24 | 22.4 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| ZX81 Sinclair BASIC (image/sinclairBASIC)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue May 24 00:51:54 1988, modified Tue May 24 00:51:54 1988, creator 'MPS ', type ASCII, 22223 bytes "getlaunchstuff.p" , at 0x574f 512 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 67 65 74 6c 61 75 | 6e 63 68 73 74 75 66 66 |..getlau|nchstuff|
|00000010| 2e 70 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.p......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 56 cf 00 | 00 02 00 9e be b1 ea 9e |.....V..|........|
|00000060| be b1 ea 00 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 bf 60 00 00 |........|.....`..|
|00000080| 7b 24 52 2d 7d 0d 0d 0d | 7b 24 44 45 43 4c 20 44 |{$R-}...|{$DECL D|
|00000090| 65 62 75 67 7d 0d 7b 24 | 53 45 54 43 20 44 65 62 |ebug}.{$|SETC Deb|
|000000a0| 75 67 20 3a 3d 20 66 61 | 6c 73 65 7d 0d 0d 28 2a |ug := fa|lse}..(*|
|000000b0| 0d 09 47 65 74 4c 61 75 | 6e 63 68 53 74 75 66 66 |..GetLau|nchStuff|
|000000c0| 20 2d 20 61 20 58 43 4d | 44 20 77 68 69 63 68 20 | - a XCM|D which |
|000000d0| 72 65 74 75 72 6e 73 20 | 54 52 55 45 20 69 66 20 |returns |TRUE if |
|000000e0| 74 68 65 20 66 69 6c 65 | 20 27 4c 61 75 6e 63 68 |the file| 'Launch|
|000000f0| 2e 42 42 53 27 0d 09 65 | 78 69 73 74 73 20 2d 20 |.BBS'..e|xists - |
|00000100| 69 66 20 73 6f 2c 20 74 | 68 65 20 63 6f 6e 74 65 |if so, t|he conte|
|00000110| 6e 74 73 20 6f 66 20 74 | 68 65 20 66 69 6c 65 20 |nts of t|he file |
|00000120| 61 72 65 20 70 75 74 20 | 69 6e 74 6f 0d 09 48 79 |are put |into..Hy|
|00000130| 70 65 72 43 61 72 64 20 | 47 6c 6f 62 61 6c 20 76 |perCard |Global v|
|00000140| 61 72 69 61 62 6c 65 73 | 2e 0d 09 0d 09 54 20 52 |ariables|.....T R|
|00000150| 20 54 65 61 67 75 65 20 | 2d 20 31 33 20 44 65 63 | Teague |- 13 Dec|
|00000160| 20 38 37 0d 09 0d 09 70 | 61 73 63 61 6c 20 47 65 | 87....p|ascal Ge|
|00000170| 74 4c 61 75 6e 63 68 53 | 74 75 66 66 2e 70 0d 09 |tLaunchS|tuff.p..|
|00000180| 6c 69 6e 6b 20 2d 6d 20 | 45 4e 54 52 59 50 4f 49 |link -m |ENTRYPOI|
|00000190| 4e 54 20 2d 6f 20 47 65 | 74 4c 61 75 6e 63 68 53 |NT -o Ge|tLaunchS|
|000001a0| 74 75 66 66 20 2d 72 74 | 20 58 43 4d 44 3d 31 30 |tuff -rt| XCMD=10|
|000001b0| 20 2d 73 6e 20 4d 61 69 | 6e 3d 47 65 74 4c 61 75 | -sn Mai|n=GetLau|
|000001c0| 6e 63 68 53 74 75 66 66 | 20 b6 0d 09 20 20 47 65 |nchStuff| ... Ge|
|000001d0| 74 4c 61 75 6e 63 68 53 | 74 75 66 66 2e 70 2e 6f |tLaunchS|tuff.p.o|
|000001e0| 20 7b 4d 50 57 7d 4c 69 | 62 72 61 72 69 65 73 3a | {MPW}Li|braries:|
|000001f0| 49 6e 74 65 72 66 61 63 | 65 2e 6f 20 7b 4d 50 57 |Interfac|e.o {MPW|
|00000200| 7d 50 4c 69 62 72 61 72 | 69 65 73 3a 50 61 73 4c |}PLibrar|ies:PasL|
|00000210| 69 62 2e 6f 20 0d 0d 0d | 2a 29 0d 0d 7b 24 53 20 |ib.o ...|*)..{$S |
|00000220| 47 65 74 4c 61 75 6e 63 | 68 53 74 75 66 66 7d 20 |GetLaunc|hStuff} |
|00000230| 09 7b 20 53 65 67 6d 65 | 6e 74 20 6e 61 6d 65 20 |.{ Segme|nt name |
|00000240| 6d 75 73 74 20 62 65 20 | 74 68 65 20 73 61 6d 65 |must be |the same|
|00000250| 20 61 73 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 | as the |command |
|00000260| 6e 61 6d 65 2e 20 7d 0d | 0d 55 4e 49 54 20 44 75 |name. }.|.UNIT Du|
|00000270| 6d 6d 79 55 6e 69 74 3b | 0d 0d 49 4e 54 45 52 46 |mmyUnit;|..INTERF|
|00000280| 41 43 45 0d 0d 55 53 45 | 53 20 4d 65 6d 54 79 70 |ACE..USE|S MemTyp|
|00000290| 65 73 2c 20 51 75 69 63 | 6b 44 72 61 77 2c 20 4f |es, Quic|kDraw, O|
|000002a0| 53 49 6e 74 66 2c 20 54 | 6f 6f 6c 49 6e 74 66 2c |SIntf, T|oolIntf,|
|000002b0| 20 48 79 70 65 72 58 43 | 6d 64 2c 20 50 61 63 6b | HyperXC|md, Pack|
|000002c0| 49 6e 74 66 3b 0d 0d 50 | 52 4f 43 45 44 55 52 45 |Intf;..P|ROCEDURE|
|000002d0| 20 45 6e 74 72 79 50 6f | 69 6e 74 28 70 61 72 61 | EntryPo|int(para|
|000002e0| 6d 50 74 72 3a 20 58 43 | 6d 64 50 74 72 29 3b 0d |mPtr: XC|mdPtr);.|
|000002f0| 09 0d 49 4d 50 4c 45 4d | 45 4e 54 41 54 49 4f 4e |..IMPLEM|ENTATION|
|00000300| 0d 0d 54 59 50 45 20 53 | 74 72 33 31 20 3d 20 53 |..TYPE S|tr31 = S|
|00000310| 74 72 69 6e 67 5b 33 31 | 5d 3b 0d 0d 50 52 4f 43 |tring[31|];..PROC|
|00000320| 45 44 55 52 45 20 47 65 | 74 4c 61 75 6e 63 68 53 |EDURE Ge|tLaunchS|
|00000330| 74 75 66 66 28 70 61 72 | 61 6d 50 74 72 3a 20 58 |tuff(par|amPtr: X|
|00000340| 43 6d 64 50 74 72 29 3b | 20 46 4f 52 57 41 52 44 |CmdPtr);| FORWARD|
|00000350| 3b 0d 0d 20 20 20 50 52 | 4f 43 45 44 55 52 45 20 |;.. PR|OCEDURE |
|00000360| 45 6e 74 72 79 50 6f 69 | 6e 74 28 70 61 72 61 6d |EntryPoi|nt(param|
|00000370| 50 74 72 3a 20 58 43 6d | 64 50 74 72 29 3b 0d 20 |Ptr: XCm|dPtr);. |
|00000380| 20 20 42 45 47 49 4e 0d | 20 20 20 20 20 20 47 65 | BEGIN.| Ge|
|00000390| 74 4c 61 75 6e 63 68 53 | 74 75 66 66 28 70 61 72 |tLaunchS|tuff(par|
|000003a0| 61 6d 50 74 72 29 3b 0d | 20 20 20 45 4e 44 3b 0d |amPtr);.| END;.|
|000003b0| 0d 50 52 4f 43 45 44 55 | 52 45 20 52 61 6e 64 6f |.PROCEDU|RE Rando|
|000003c0| 6d 69 7a 65 3b 0d 20 20 | 49 4e 4c 49 4e 45 20 24 |mize;. |INLINE $|
|000003d0| 32 46 30 44 2c 20 24 32 | 41 37 38 2c 20 24 30 39 |2F0D, $2|A78, $09|
|000003e0| 30 34 2c 20 24 32 41 35 | 35 2c 20 24 32 42 37 38 |04, $2A5|5, $2B78|
|000003f0| 2c 20 24 30 31 36 41 2c | 20 24 46 46 38 32 2c 20 |, $016A,| $FF82, |
|00000400| 24 32 41 35 46 3b 0d 7b | 4d 4f 56 45 2e 4c 20 41 |$2A5F;.{|MOVE.L A|
|00000410| 35 2c 2d 28 41 37 29 09 | 20 3b 73 61 76 65 20 6f |5,-(A7).| ;save o|
|00000420| 6c 64 20 41 35 20 6f 6e | 20 73 74 61 63 6b 0d 20 |ld A5 on| stack. |
|00000430| 4d 4f 56 45 2e 4c 20 43 | 75 72 72 65 6e 74 41 35 |MOVE.L C|urrentA5|
|00000440| 2c 41 35 09 20 3b 67 65 | 74 20 74 68 65 20 72 65 |,A5. ;ge|t the re|
|00000450| 61 6c 20 41 35 0d 20 4d | 4f 56 45 2e 4c 20 28 41 |al A5. M|OVE.L (A|
|00000460| 35 29 2c 41 35 09 09 20 | 3b 70 6f 69 6e 74 20 74 |5),A5.. |;point t|
|00000470| 6f 20 51 44 47 6c 6f 62 | 61 6c 73 0d 20 4d 4f 56 |o QDGlob|als. MOV|
|00000480| 45 2e 4c 20 54 69 63 6b | 73 2c 72 61 6e 64 53 65 |E.L Tick|s,randSe|
|00000490| 65 64 2b 34 28 41 35 29 | 3b 20 73 65 74 20 74 68 |ed+4(A5)|; set th|
|000004a0| 65 20 72 61 6e 64 6f 6d | 20 6e 75 6d 62 65 72 20 |e random| number |
|000004b0| 73 65 65 64 0d 20 4d 4f | 56 45 2e 4c 20 28 41 37 |seed. MO|VE.L (A7|
|000004c0| 29 2b 2c 41 35 09 20 3b | 72 65 73 74 6f 72 65 20 |)+,A5. ;|restore |
|000004d0| 41 35 7d 0d 0d 20 20 20 | 50 52 4f 43 45 44 55 52 |A5}.. |PROCEDUR|
|000004e0| 45 20 47 65 74 4c 61 75 | 6e 63 68 53 74 75 66 66 |E GetLau|nchStuff|
|000004f0| 28 70 61 72 61 6d 50 74 | 72 3a 20 58 43 6d 64 50 |(paramPt|r: XCmdP|
|00000500| 74 72 29 3b 0d 0d 20 20 | 20 7b 20 53 74 61 6e 64 |tr);.. | { Stand|
|00000510| 61 72 64 20 63 6f 6e 73 | 74 27 73 2c 20 74 79 70 |ard cons|t's, typ|
|00000520| 65 73 2c 20 76 61 72 73 | 20 66 6f 72 20 42 42 53 |es, vars| for BBS|
|00000530| 20 66 69 6c 65 73 20 7d | 0d 0d 20 20 20 63 6f 6e | files }|.. con|
|00000540| 73 74 0d 20 20 20 20 20 | 73 74 72 6c 65 6e 20 3d |st. |strlen =|
|00000550| 20 31 36 30 3b 20 7b 20 | 6c 65 6e 67 74 68 20 6f | 160; { |length o|
|00000560| 66 20 73 74 72 69 6e 67 | 20 7d 0d 09 20 0d 20 20 |f string| }.. . |
|00000570| 20 20 20 7b 20 75 73 65 | 72 2d 6d 6f 64 69 66 61 | { use|r-modifa|
|00000580| 62 6c 65 20 72 65 73 6f | 75 72 63 65 73 20 7d 0d |ble reso|urces }.|
|00000590| 0d 20 20 20 20 20 53 74 | 72 49 44 20 3d 20 31 30 |. St|rID = 10|
|000005a0| 30 30 3b 0d 20 20 20 20 | 20 4e 75 6d 53 74 72 49 |00;. | NumStrI|
|000005b0| 74 65 6d 73 20 3d 20 35 | 3b 20 7b 20 61 63 74 75 |tems = 5|; { actu|
|000005c0| 61 6c 6c 79 20 74 68 65 | 72 65 20 61 72 65 20 6d |ally the|re are m|
|000005d0| 6f 72 65 20 7d 0d 0d 20 | 20 20 20 20 44 4c 6f 61 |ore }.. | DLoa|
|000005e0| 64 73 53 74 72 49 44 20 | 3d 20 31 30 30 31 3b 0d |dsStrID |= 1001;.|
|000005f0| 20 20 20 20 20 4d 73 67 | 73 53 74 72 49 44 20 3d | Msg|sStrID =|
|00000600| 20 31 30 30 32 3b 0d 20 | 20 20 20 20 6e 75 6d 63 | 1002;. | numc|
|00000610| 6f 6d 70 74 79 70 65 73 | 20 3d 20 31 31 3b 0d 20 |omptypes| = 11;. |
|00000620| 20 20 20 20 20 0d 20 20 | 20 20 20 62 75 66 66 65 | . | buffe|
|00000630| 72 5f 4d 61 78 20 20 20 | 20 3d 20 35 31 32 30 3b |r_Max | = 5120;|
|00000640| 0d 20 20 20 20 20 73 65 | 72 62 75 66 5f 53 69 7a |. se|rbuf_Siz|
|00000650| 65 20 20 20 3d 20 35 31 | 32 30 3b 0d 20 20 20 20 |e = 51|20;. |
|00000660| 20 0d 20 20 20 20 20 4d | 6f 64 65 6d 53 74 72 49 | . M|odemStrI|
|00000670| 44 20 3d 20 31 30 30 35 | 3b 0d 20 20 20 20 20 7b |D = 1005|;. {|
|00000680| 20 6d 6f 64 65 6d 20 70 | 61 72 61 6d 65 74 65 72 | modem p|arameter|
|00000690| 73 20 7d 0d 20 20 20 20 | 20 6d 6e 61 6d 65 49 74 |s }. | mnameIt|
|000006a0| 65 6d 20 3d 20 31 3b 0d | 20 20 20 20 20 6d 69 6e |em = 1;.| min|
|000006b0| 69 74 49 74 65 6d 20 3d | 20 32 3b 0d 20 20 20 20 |itItem =| 2;. |
|000006c0| 20 6d 68 61 6e 67 49 74 | 65 6d 20 3d 20 33 3b 0d | mhangIt|em = 3;.|
|000006d0| 20 20 20 20 20 6d 6d 69 | 6e 69 49 6e 69 74 49 74 | mmi|niInitIt|
|000006e0| 65 6d 20 3d 20 34 3b 0d | 20 20 20 20 20 6d 6d 69 |em = 4;.| mmi|
|000006f0| 6e 69 44 69 61 6c 49 74 | 65 6d 20 3d 20 35 3b 0d |niDialIt|em = 5;.|
|00000700| 20 20 20 20 20 6d 6d 69 | 6e 69 45 6e 64 49 74 65 | mmi|niEndIte|
|00000710| 6d 20 3d 20 36 3b 0d 20 | 20 20 20 20 6d 78 66 65 |m = 6;. | mxfe|
|00000720| 72 54 78 49 6e 69 74 49 | 74 65 6d 20 3d 20 37 3b |rTxInitI|tem = 7;|
|00000730| 0d 20 20 20 20 20 6d 78 | 66 65 72 54 78 45 6e 64 |. mx|ferTxEnd|
|00000740| 49 74 65 6d 20 3d 20 38 | 3b 0d 20 20 20 20 20 6d |Item = 8|;. m|
|00000750| 78 66 65 72 52 78 49 6e | 69 74 49 74 65 6d 20 3d |xferRxIn|itItem =|
|00000760| 20 39 3b 0d 20 20 20 20 | 20 6d 78 66 65 72 52 78 | 9;. | mxferRx|
|00000770| 45 6e 64 49 74 65 6d 20 | 3d 20 31 30 3b 0d 20 20 |EndItem |= 10;. |
|00000780| 20 20 20 6d 63 6f 6e 6e | 65 63 74 49 74 65 6d 20 | mconn|ectItem |
|00000790| 3d 20 31 31 3b 0d 0d 0d | 0d 20 20 74 79 70 65 0d |= 11;...|. type.|
|000007a0| 0d 20 20 20 20 20 73 74 | 72 74 79 70 65 3d 73 74 |. st|rtype=st|
|000007b0| 72 69 6e 67 5b 73 74 72 | 6c 65 6e 5d 3b 20 7b 20 |ring[str|len]; { |
|000007c0| 73 74 72 69 6e 67 20 74 | 79 70 65 20 7d 0d 0d 7b |string t|ype }..{|
|000007d0| 20 65 6e 75 6d 65 72 61 | 74 65 64 20 6c 69 73 74 | enumera|ted list|
|000007e0| 20 6f 66 20 75 73 65 72 | 20 72 65 73 74 72 69 63 | of user| restric|
|000007f0| 74 69 6f 6e 73 20 2d 20 | 6d 6f 64 69 66 69 65 64 |tions - |modified|
|00000800| 20 66 6f 72 20 76 65 72 | 73 69 6f 6e 20 33 2e 30 | for ver|sion 3.0|
|00000810| 20 7d 0d 7b 20 0d 20 20 | 6c 6f 67 6f 6e 73 20 32 | }.{ . |logons 2|
|00000820| 2f 64 61 79 20 28 27 4c | 27 29 2c 20 6e 6f 20 63 |/day ('L|'), no c|
|00000830| 68 61 74 74 69 6e 67 20 | 28 27 43 27 29 2c 20 75 |hatting |('C'), u|
|00000840| 6e 76 61 6c 69 64 61 74 | 65 64 20 6d 65 73 73 61 |nvalidat|ed messa|
|00000850| 67 65 73 20 28 27 56 27 | 29 2c 20 6e 6f 20 62 61 |ges ('V'|), no ba|
|00000860| 63 6b 73 70 61 63 69 6e | 67 20 28 27 42 27 29 2c |ckspacin|g ('B'),|
|00000870| 0d 20 20 63 61 6e 27 74 | 20 63 68 61 6e 67 65 20 |. can't| change |
|00000880| 61 75 74 6f 6d 73 67 2f | 61 64 64 20 74 6f 20 42 |automsg/|add to B|
|00000890| 42 53 20 6c 69 73 74 20 | 28 27 41 27 29 2c 20 63 |BS list |('A'), c|
|000008a0| 61 6e 27 74 20 70 6f 73 | 74 20 61 6e 6f 6e 79 6d |an't pos|t anonym|
|000008b0| 6f 75 73 20 6d 73 67 73 | 20 28 27 2a 27 29 2c 0d |ous msgs| ('*'),.|
|000008c0| 20 20 63 61 6e 27 74 20 | 70 6f 73 74 20 61 74 20 | can't |post at |
|000008d0| 61 6c 6c 20 28 27 50 27 | 29 2c 20 63 61 6e 27 74 |all ('P'|), can't|
|000008e0| 20 73 65 6e 64 20 73 65 | 6e 64 20 45 2d 4d 61 69 | send se|nd E-Mai|
|000008f0| 6c 20 28 27 45 27 29 2c | 20 63 61 6e 27 74 20 76 |l ('E'),| can't v|
|00000900| 6f 74 65 20 28 27 4b 27 | 29 2c 0d 20 20 63 61 6e |ote ('K'|),. can|
|00000910| 27 74 20 61 75 74 6f 2d | 64 65 6c 65 74 65 20 6d |'t auto-|delete m|
|00000920| 73 67 73 20 28 27 4d 27 | 29 2c 20 63 61 6e 27 74 |sgs ('M'|), can't|
|00000930| 20 64 6f 77 6e 6c 6f 61 | 64 20 69 66 20 75 2f 6c | downloa|d if u/l|
|00000940| 20 74 6f 20 64 2f 6c 20 | 72 61 74 69 6f 20 69 73 | to d/l |ratio is|
|00000950| 20 65 78 63 65 65 64 65 | 64 20 28 27 44 27 29 0d | exceede|d ('D').|
|00000960| 7d 0d 72 65 73 74 72 69 | 63 74 69 6f 6e 73 3d 28 |}.restri|ctions=(|
|00000970| 72 6c 6f 67 6f 6e 2c 72 | 63 68 61 74 2c 72 76 61 |rlogon,r|chat,rva|
|00000980| 6c 69 64 61 74 65 2c 72 | 62 61 63 6b 73 70 61 63 |lidate,r|backspac|
|00000990| 65 2c 72 61 6d 73 67 2c | 72 70 6f 73 74 61 6e 2c |e,ramsg,|rpostan,|
|000009a0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000009b0| 20 20 20 20 72 70 6f 73 | 74 2c 72 65 6d 61 69 6c | rpos|t,remail|
|000009c0| 2c 72 76 6f 74 69 6e 67 | 2c 72 6d 73 67 2c 72 64 |,rvoting|,rmsg,rd|
|000009d0| 6c 29 3b 20 0d 0d 20 20 | 20 20 20 61 63 72 71 3d |l); .. | acrq=|
|000009e0| 27 40 27 2e 2e 27 47 27 | 3b 20 7b 20 62 6f 61 72 |'@'..'G'|; { boar|
|000009f0| 64 20 61 63 63 65 73 73 | 20 3a 20 6e 6f 6e 65 2c |d access| : none,|
|00000a00| 20 41 20 2d 3e 20 47 20 | 2d 20 6e 6f 74 20 72 65 | A -> G |- not re|
|00000a10| 61 6c 6c 79 20 75 73 65 | 64 20 7d 0d 0d 7b 20 65 |ally use|d }..{ e|
|00000a20| 6d 75 6e 65 72 61 74 65 | 64 20 75 73 65 72 20 64 |munerate|d user d|
|00000a30| 65 66 61 75 6c 74 73 20 | 3a 20 73 70 69 6e 6e 69 |efaults |: spinni|
|00000a40| 6e 67 20 63 75 72 73 6f | 72 2c 20 6f 6e 65 6b 65 |ng curso|r, oneke|
|00000a50| 79 20 69 6e 70 75 74 2c | 20 77 6f 72 64 20 77 72 |y input,| word wr|
|00000a60| 61 70 2c 20 73 63 72 65 | 65 6e 20 70 61 75 73 65 |ap, scre|en pause|
|00000a70| 20 7d 0d 20 20 20 20 20 | 64 65 66 6c 74 73 3d 28 | }. |deflts=(|
|00000a80| 73 70 63 73 72 2c 6f 6e | 65 6b 65 79 2c 77 6f 72 |spcsr,on|ekey,wor|
|00000a90| 64 77 72 61 70 2c 70 61 | 75 73 65 29 3b 0d 0d 7b |dwrap,pa|use);..{|
|00000aa0| 20 65 6e 75 6d 65 72 61 | 74 65 64 20 73 70 65 63 | enumera|ted spec|
|00000ab0| 69 61 6c 20 75 73 65 72 | 20 61 6c 65 72 74 73 20 |ial user| alerts |
|00000ac0| 3a 20 61 6c 65 72 74 2c | 20 73 6d 61 6c 6c 20 6d |: alert,| small m|
|00000ad0| 73 67 20 77 61 69 74 69 | 6e 67 2c 20 63 61 6e 27 |sg waiti|ng, can'|
|00000ae0| 74 20 72 65 63 65 69 76 | 65 20 45 2d 4d 61 69 6c |t receiv|e E-Mail|
|00000af0| 20 7d 0d 20 20 20 20 20 | 6f 70 74 73 3d 28 6d 79 | }. |opts=(my|
|00000b00| 61 6c 65 72 74 2c 73 6d | 77 2c 6e 6f 6d 61 69 6c |alert,sm|w,nomail|
|00000b10| 29 3b 20 0d 20 20 20 20 | 20 0d 20 20 20 20 20 6d |); . | . m|
|00000b20| 65 73 73 61 67 65 73 3d | 72 65 63 6f 72 64 20 7b |essages=|record {|
|00000b30| 20 6d 73 67 73 20 66 69 | 6c 65 6e 61 6d 65 20 69 | msgs fi|lename i|
|00000b40| 6e 66 6f 20 20 2d 20 65 | 2e 67 20 66 69 6c 65 6e |nfo - e|.g filen|
|00000b50| 61 6d 65 20 6f 66 20 66 | 6f 72 6d 20 41 2d 33 32 |ame of f|orm A-32|
|00000b60| 37 36 37 2e 31 20 7d 0d | 20 20 20 20 20 20 20 20 |767.1 }.| |
|00000b70| 20 20 20 20 20 20 20 20 | 6c 74 72 3a 63 68 61 72 | |ltr:char|
|00000b80| 3b 20 7b 20 62 6f 61 72 | 64 20 6c 65 74 74 65 72 |; { boar|d letter|
|00000b90| 20 28 69 2e 65 2e 20 41 | 20 3d 20 62 6f 61 72 64 | (i.e. A| = board|
|00000ba0| 20 6e 6f 2e 20 31 29 20 | 7d 0d 20 20 20 20 20 20 | no. 1) |}. |
|00000bb0| 20 20 20 20 20 20 20 20 | 20 20 6e 75 6d 62 65 72 | | number|
|00000bc0| 3a 69 6e 74 65 67 65 72 | 3b 20 7b 20 75 6e 69 71 |:integer|; { uniq|
|00000bd0| 75 65 20 6d 73 67 20 6e | 75 6d 62 65 72 20 7d 0d |ue msg n|umber }.|
|00000be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000bf0| 65 78 74 3a 62 79 74 65 | 3b 20 7b 20 75 6e 69 71 |ext:byte|; { uniq|
|00000c00| 75 65 20 6d 73 67 20 6e | 75 6d 62 65 72 20 66 6f |ue msg n|umber fo|
|00000c10| 72 20 66 69 6c 65 6e 61 | 6d 65 20 65 78 74 65 6e |r filena|me exten|
|00000c20| 73 69 6f 6e 20 28 4d 53 | 2d 44 4f 53 29 20 7d 0d |sion (MS|-DOS) }.|
|00000c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 65 6e | | en|
|00000c40| 64 3b 0d 20 20 20 20 20 | 75 73 65 72 72 65 63 3d |d;. |userrec=|
|00000c50| 72 65 63 6f 72 64 20 7b | 20 75 73 65 72 20 69 6e |record {| user in|
|00000c60| 66 6f 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |fo }. | |
|00000c70| 20 20 20 20 6e 61 6d 65 | 3a 73 74 72 69 6e 67 5b | name|:string[|
|00000c80| 32 35 5d 3b 20 7b 20 61 | 6c 69 61 73 20 7d 0d 20 |25]; { a|lias }. |
|00000c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 72 65 | | re|
|00000ca0| 61 6c 6e 61 6d 65 3a 73 | 74 72 69 6e 67 5b 31 34 |alname:s|tring[14|
|00000cb0| 5d 3b 20 7b 20 72 65 61 | 6c 6e 61 6d 65 20 7d 0d |]; { rea|lname }.|
|00000cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 64 | | d|
|00000cd0| 65 6c 65 74 65 64 3a 62 | 6f 6f 6c 65 61 6e 3b 20 |eleted:b|oolean; |
|00000ce0| 7b 20 64 65 6c 65 74 65 | 64 20 66 6c 61 67 20 7d |{ delete|d flag }|
|00000cf0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000d00| 70 77 3a 73 74 72 69 6e | 67 5b 38 5d 3b 20 7b 20 |pw:strin|g[8]; { |
|00000d10| 70 61 73 73 77 6f 72 64 | 20 7d 0d 20 20 20 20 20 |password| }. |
|00000d20| 20 20 20 20 20 20 20 20 | 20 20 70 68 3a 73 74 72 | | ph:str|
|00000d30| 69 6e 67 5b 31 32 5d 3b | 20 7b 20 70 68 6f 6e 65 |ing[12];| { phone|
|00000d40| 20 6e 6f 2e 20 7d 0d 20 | 20 20 20 20 20 20 20 20 | no. }. | |
|00000d50| 20 20 20 20 20 20 77 61 | 69 74 69 6e 67 3a 62 79 | wa|iting:by|
|00000d60| 74 65 3b 20 7b 20 6e 6f | 2e 20 6f 66 20 45 2d 4d |te; { no|. of E-M|
|00000d70| 61 69 6c 20 6d 73 67 73 | 20 77 61 69 74 69 6e 67 |ail msgs| waiting|
|00000d80| 20 7d 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00000d90| 20 20 6c 61 73 74 6f 6e | 3a 73 74 72 69 6e 67 5b | laston|:string[|
|00000da0| 31 30 5d 3b 20 7b 20 6c | 61 73 74 20 6f 6e 20 64 |10]; { l|ast on d|
|00000db0| 61 74 65 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |ate }. | |
|00000dc0| 20 20 20 20 20 6c 6f 67 | 67 65 64 6f 6e 3a 69 6e | log|gedon:in|
|00000dd0| 74 65 67 65 72 3b 20 7b | 20 74 6f 74 61 6c 20 6e |teger; {| total n|
|00000de0| 6f 2e 20 6f 66 20 74 69 | 6d 65 73 20 6c 6f 67 67 |o. of ti|mes logg|
|00000df0| 65 64 20 6f 6e 20 73 79 | 73 74 65 6d 20 7d 0d 20 |ed on sy|stem }. |
|00000e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6d 73 | | ms|
|00000e10| 67 70 6f 73 74 3a 69 6e | 74 65 67 65 72 3b 20 7b |gpost:in|teger; {|
|00000e20| 20 74 6f 74 61 6c 20 6e | 6f 2e 20 6f 66 20 6d 73 | total n|o. of ms|
|00000e30| 67 73 20 70 6f 73 74 65 | 64 20 7d 0d 20 20 20 20 |gs poste|d }. |
|00000e40| 20 20 20 20 20 20 20 20 | 20 20 20 65 6d 61 69 6c | | email|
|00000e50| 73 65 6e 74 3a 69 6e 74 | 65 67 65 72 3b 20 7b 20 |sent:int|eger; { |
|00000e60| 74 6f 74 61 6c 20 6e 6f | 2e 20 6f 66 20 45 2d 4d |total no|. of E-M|
|00000e70| 61 69 6c 20 6d 73 67 73 | 20 73 65 6e 74 20 7d 0d |ail msgs| sent }.|
|00000e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 66 | | f|
|00000e90| 65 65 64 62 61 63 6b 3a | 69 6e 74 65 67 65 72 3b |eedback:|integer;|
|00000ea0| 20 7b 20 74 6f 74 61 6c | 20 6e 6f 2e 20 6f 66 20 | { total| no. of |
|00000eb0| 66 65 65 64 62 61 63 6b | 20 6d 73 67 73 20 73 65 |feedback| msgs se|
|00000ec0| 6e 74 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |nt }. | |
|00000ed0| 20 20 20 20 6c 69 6e 65 | 6c 65 6e 3a 62 79 74 65 | line|len:byte|
|00000ee0| 3b 20 7b 20 75 73 65 72 | 27 73 20 73 63 72 65 65 |; { user|'s scree|
|00000ef0| 6e 20 77 69 64 74 68 20 | 7d 0d 20 20 20 20 20 20 |n width |}. |
|00000f00| 20 20 20 20 20 20 20 20 | 20 70 61 67 65 6c 65 6e | | pagelen|
|00000f10| 3a 62 79 74 65 3b 20 7b | 20 75 73 65 72 27 73 20 |:byte; {| user's |
|00000f20| 73 63 72 65 65 6e 20 68 | 65 69 67 68 74 20 7d 0d |screen h|eight }.|
|00000f30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 64 | | d|
|00000f40| 65 66 61 75 6c 74 73 3a | 73 65 74 20 6f 66 20 64 |efaults:|set of d|
|00000f50| 65 66 6c 74 73 3b 20 7b | 20 73 65 74 20 6f 66 20 |eflts; {| set of |
|00000f60| 75 73 65 72 20 64 65 66 | 61 75 6c 74 73 20 28 6f |user def|aults (o|
|00000f70| 6e 2f 6f 66 66 29 20 2d | 20 73 65 65 20 61 62 6f |n/off) -| see abo|
|00000f80| 76 65 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ve }. | |
|00000f90| 20 20 20 20 6f 6e 74 6f | 64 61 79 3a 62 79 74 65 | onto|day:byte|
|00000fa0| 3b 20 7b 20 6e 6f 2e 20 | 6f 66 20 74 69 6d 65 73 |; { no. |of times|
|00000fb0| 20 6c 6f 67 67 65 64 20 | 6f 6e 20 74 6f 64 61 79 | logged |on today|
|00000fc0| 20 7d 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00000fd0| 20 20 69 6c 6c 65 67 61 | 6c 3a 62 79 74 65 3b 20 | illega|l:byte; |
|00000fe0| 7b 20 6e 6f 2e 20 6f 66 | 20 69 6c 6c 65 67 61 6c |{ no. of| illegal|
|00000ff0| 20 6c 6f 67 6f 6e 73 20 | 74 6f 64 61 79 20 7d 0d | logons |today }.|
|00001000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 | | c|
|00001010| 75 72 73 6f 72 3a 73 74 | 72 69 6e 67 5b 31 30 5d |ursor:st|ring[10]|
|00001020| 3b 20 7b 20 73 70 69 6e | 6e 69 6e 67 20 63 75 72 |; { spin|ning cur|
|00001030| 73 6f 72 20 28 69 66 20 | 61 6e 79 29 20 22 77 6f |sor (if |any) "wo|
|00001040| 72 64 22 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |rd" }. | |
|00001050| 20 20 20 20 20 73 6c 3a | 62 79 74 65 3b 20 7b 20 | sl:|byte; { |
|00001060| 73 65 63 75 72 69 74 79 | 20 6c 65 76 65 6c 20 7d |security| level }|
|00001070| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001080| 61 63 3a 73 65 74 20 6f | 66 20 72 65 73 74 72 69 |ac:set o|f restri|
|00001090| 63 74 69 6f 6e 73 3b 20 | 7b 20 73 65 74 20 6f 66 |ctions; |{ set of|
|000010a0| 20 75 73 65 72 20 72 65 | 73 74 72 69 63 74 69 6f | user re|strictio|
|000010b0| 6e 73 20 28 6f 6e 2f 6f | 66 66 29 20 2d 20 73 65 |ns (on/o|ff) - se|
|000010c0| 65 20 61 62 6f 76 65 20 | 7d 0d 20 20 20 20 20 20 |e above |}. |
|000010d0| 20 20 20 20 20 20 20 20 | 20 61 72 3a 73 65 74 20 | | ar:set |
|000010e0| 6f 66 20 61 63 72 71 3b | 20 7b 20 73 65 74 20 6f |of acrq;| { set o|
|000010f0| 66 20 62 6f 61 72 64 73 | 20 75 73 65 72 20 68 61 |f boards| user ha|
|00001100| 73 20 61 63 63 65 73 73 | 20 74 6f 20 28 6f 6e 2f |s access| to (on/|
|00001110| 6f 66 66 29 20 2d 20 6e | 6f 74 20 72 65 61 6c 6c |off) - n|ot reall|
|00001120| 79 20 75 73 65 64 20 2d | 20 73 65 65 20 61 62 6f |y used -| see abo|
|00001130| 76 65 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ve }. | |
|00001140| 20 20 20 20 71 73 63 61 | 6e 3a 61 72 72 61 79 5b | qsca|n:array[|
|00001150| 31 2e 2e 31 39 5d 20 6f | 66 20 6d 65 73 73 61 67 |1..19] o|f messag|
|00001160| 65 73 3b 20 7b 20 6c 61 | 73 74 20 6d 73 67 20 51 |es; { la|st msg Q|
|00001170| 2d 73 63 61 6e 6e 65 64 | 20 66 6f 72 20 65 61 63 |-scanned| for eac|
|00001180| 68 20 31 20 6f 66 20 31 | 39 20 70 6f 73 73 69 62 |h 1 of 1|9 possib|
|00001190| 6c 65 20 62 6f 61 72 64 | 73 20 7d 0d 20 20 20 20 |le board|s }. |
|000011a0| 20 20 20 20 20 20 20 20 | 20 20 20 71 73 63 6e 3a | | qscn:|
|000011b0| 61 72 72 61 79 5b 31 2e | 2e 31 39 5d 20 6f 66 20 |array[1.|.19] of |
|000011c0| 62 6f 6f 6c 65 61 6e 3b | 20 7b 20 63 6f 6e 66 69 |boolean;| { confi|
|000011d0| 67 75 72 65 64 20 51 2d | 53 63 61 6e 20 66 6c 61 |gured Q-|Scan fla|
|000011e0| 67 73 20 66 6f 72 20 75 | 70 20 74 6f 20 31 39 20 |gs for u|p to 19 |
|000011f0| 62 6f 61 72 64 73 20 7d | 0d 20 20 20 20 20 20 20 |boards }|. |
|00001200| 20 20 20 20 20 20 20 20 | 6d 61 63 72 6f 3a 61 72 | |macro:ar|
|00001210| 72 61 79 5b 31 2e 2e 32 | 5d 20 6f 66 20 73 74 72 |ray[1..2|] of str|
|00001220| 69 6e 67 5b 37 39 5d 3b | 20 7b 20 63 6f 6e 74 72 |ing[79];| { contr|
|00001230| 6f 6c 2d 64 20 26 20 63 | 6f 6e 74 72 6f 6c 2d 66 |ol-d & c|ontrol-f|
|00001240| 20 6d 61 63 72 6f 20 65 | 78 70 61 6e 73 69 6f 6e | macro e|xpansion|
|00001250| 73 20 7d 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |s }. | |
|00001260| 20 20 20 63 6f 6d 70 74 | 79 70 65 3a 62 79 74 65 | compt|ype:byte|
|00001270| 3b 20 7b 20 63 6f 6d 70 | 75 74 65 72 20 74 79 70 |; { comp|uter typ|
|00001280| 65 20 28 31 20 2d 3e 20 | 6e 75 6d 63 6f 6d 70 74 |e (1 -> |numcompt|
|00001290| 79 70 65 73 29 20 61 73 | 20 73 65 74 20 75 70 20 |ypes) as| set up |
|000012a0| 65 6c 73 65 77 68 65 72 | 65 20 7d 0d 20 20 20 20 |elsewher|e }. |
|000012b0| 20 20 20 20 20 20 20 20 | 20 20 20 6f 70 74 69 6f | | optio|
|000012c0| 6e 3a 73 65 74 20 6f 66 | 20 6f 70 74 73 3b 20 7b |n:set of| opts; {|
|000012d0| 20 73 65 74 20 6f 66 20 | 75 73 65 72 20 6f 70 74 | set of |user opt|
|000012e0| 69 6f 6e 73 20 28 6f 6e | 2f 6f 66 66 29 20 2d 20 |ions (on|/off) - |
|000012f0| 73 65 65 20 61 62 6f 76 | 65 20 7d 0d 20 20 20 20 |see abov|e }. |
|00001300| 20 20 20 20 20 20 20 20 | 20 20 20 76 6f 74 65 3a | | vote:|
|00001310| 61 72 72 61 79 5b 31 2e | 2e 39 5d 20 6f 66 20 62 |array[1.|.9] of b|
|00001320| 79 74 65 3b 20 7b 20 76 | 6f 74 65 64 20 66 6c 61 |yte; { v|oted fla|
|00001330| 67 73 20 66 6f 72 20 75 | 70 20 74 6f 20 39 20 71 |gs for u|p to 9 q|
|00001340| 75 65 73 74 69 6f 6e 73 | 20 7d 0d 20 20 20 20 20 |uestions| }. |
|00001350| 20 20 20 20 20 20 20 20 | 20 20 73 62 6e 3a 62 79 | | sbn:by|
|00001360| 74 65 3b 20 7b 20 22 73 | 70 65 63 69 61 6c 20 62 |te; { "s|pecial b|
|00001370| 6f 61 72 64 20 6e 6f 2e | 22 20 2d 20 75 73 65 72 |oard no.|" - user|
|00001380| 20 68 61 73 20 72 69 67 | 68 74 73 20 74 6f 20 76 | has rig|hts to v|
|00001390| 61 6c 69 64 61 74 65 2f | 64 65 6c 65 74 65 20 6d |alidate/|delete m|
|000013a0| 73 67 73 20 6f 6e 20 62 | 6f 61 72 64 20 28 30 20 |sgs on b|oard (0 |
|000013b0| 3d 20 41 6c 6c 29 20 7d | 0d 20 20 20 20 20 20 20 |= All) }|. |
|000013c0| 20 20 20 20 20 20 20 20 | 64 73 6c 3a 62 79 74 65 | |dsl:byte|
|000013d0| 3b 20 7b 20 64 6f 77 6e | 6c 6f 61 64 20 73 65 63 |; { down|load sec|
|000013e0| 75 72 69 74 79 20 6c 65 | 76 65 6c 20 7d 0d 20 20 |urity le|vel }. |
|000013f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 75 70 6c | | upl|
|00001400| 6f 61 64 73 2c 64 6f 77 | 6e 6c 6f 61 64 73 3a 69 |oads,dow|nloads:i|
|00001410| 6e 74 65 67 65 72 3b 20 | 7b 20 4e 6f 2e 20 6f 66 |nteger; |{ No. of|
|00001420| 20 66 69 6c 65 73 20 75 | 70 6c 6f 61 64 65 64 2f | files u|ploaded/|
|00001430| 64 6f 77 6e 6c 6f 61 64 | 65 64 20 7d 0d 20 20 20 |download|ed }. |
|00001440| 20 20 20 20 20 20 20 20 | 20 20 20 20 75 6b 2c 64 | | uk,d|
|00001450| 6b 3a 69 6e 74 65 67 65 | 72 3b 20 7b 20 4e 6f 2e |k:intege|r; { No.|
|00001460| 20 6f 66 20 4b 62 27 73 | 20 75 70 6c 6f 61 64 65 | of Kb's| uploade|
|00001470| 64 2f 64 6f 77 6e 6c 6f | 61 64 65 64 20 7d 0d 20 |d/downlo|aded }. |
|00001480| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 6e 64 3b | | end;|
|00001490| 0d 20 20 20 20 20 20 73 | 79 73 74 61 74 72 65 63 |. s|ystatrec|
|000014a0| 3d 72 65 63 6f 72 64 20 | 7b 20 73 74 61 74 75 73 |=record |{ status|
|000014b0| 20 72 65 63 6f 72 64 20 | 7d 0d 20 20 20 20 20 20 | record |}. |
|000014c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 62 6f 61 72 | | boar|
|000014d0| 64 70 77 3a 73 74 72 69 | 6e 67 5b 38 5d 3b 20 7b |dpw:stri|ng[8]; {|
|000014e0| 20 63 6c 6f 73 65 64 20 | 62 6f 61 72 64 20 70 61 | closed |board pa|
|000014f0| 73 73 77 6f 72 64 20 28 | 69 66 20 61 6e 79 29 20 |ssword (|if any) |
|00001500| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|00001510| 20 20 20 20 73 79 73 6f | 70 70 77 3a 73 74 72 69 | syso|ppw:stri|
|00001520| 6e 67 5b 38 5d 3b 20 7b | 20 73 79 73 6f 70 27 73 |ng[8]; {| sysop's|
|00001530| 20 32 6e 64 20 70 61 73 | 73 77 6f 72 64 20 7d 0d | 2nd pas|sword }.|
|00001540| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001550| 20 20 68 6d 73 67 3a 6d | 65 73 73 61 67 65 73 3b | hmsg:m|essages;|
|00001560| 20 7b 20 6d 73 67 20 66 | 69 6c 65 6e 61 6d 65 20 | { msg f|ilename |
|00001570| 69 6e 66 6f 20 2d 20 6e | 65 78 74 20 61 76 61 69 |info - n|ext avai|
|00001580| 6c 2e 20 6d 73 67 20 66 | 69 6c 65 6e 61 6d 65 20 |l. msg f|ilename |
|00001590| 3f 3f 3f 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |??? }. | |
|000015a0| 20 20 20 20 20 20 20 20 | 75 73 65 72 73 3a 69 6e | |users:in|
|000015b0| 74 65 67 65 72 3b 20 7b | 20 6e 6f 2e 20 6f 66 20 |teger; {| no. of |
|000015c0| 75 73 65 72 73 20 63 75 | 72 72 65 6e 74 6c 79 20 |users cu|rrently |
|000015d0| 6f 6e 20 73 79 73 74 65 | 6d 20 7d 0d 20 20 20 20 |on syste|m }. |
|000015e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6c 61 | | la|
|000015f0| 73 74 64 61 74 65 3a 73 | 74 72 69 6e 67 5b 38 5d |stdate:s|tring[8]|
|00001600| 3b 20 7b 20 6c 61 73 74 | 20 64 61 74 65 20 74 68 |; { last| date th|
|00001610| 61 74 20 73 79 73 74 65 | 6d 20 77 61 73 20 75 73 |at syste|m was us|
|00001620| 65 64 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ed }. | |
|00001630| 20 20 20 20 20 20 20 63 | 61 6c 6c 65 72 6e 75 6d | c|allernum|
|00001640| 3a 69 6e 74 65 67 65 72 | 3b 20 7b 20 63 75 72 72 |:integer|; { curr|
|00001650| 65 6e 74 2f 6e 65 78 74 | 20 63 61 6c 6c 65 72 20 |ent/next| caller |
|00001660| 6e 6f 2e 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |no. }. | |
|00001670| 20 20 20 20 20 20 20 20 | 61 63 74 69 76 65 74 6f | |activeto|
|00001680| 64 61 79 3a 69 6e 74 65 | 67 65 72 3b 20 7b 20 61 |day:inte|ger; { a|
|00001690| 6d 6f 75 6e 74 20 6f 66 | 20 74 69 6d 65 20 69 6e |mount of| time in|
|000016a0| 20 6d 69 6e 73 20 74 68 | 61 74 20 73 79 73 74 65 | mins th|at syste|
|000016b0| 6d 20 77 61 73 20 75 70 | 20 7d 0d 20 20 20 20 20 |m was up| }. |
|000016c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 63 61 6c | | cal|
|000016d0| 6c 73 74 6f 64 61 79 3a | 69 6e 74 65 67 65 72 3b |lstoday:|integer;|
|000016e0| 20 7b 20 6e 6f 2e 20 6f | 66 20 63 61 6c 6c 73 20 | { no. o|f calls |
|000016f0| 74 6f 64 61 79 20 7d 0d | 20 20 20 20 20 20 20 20 |today }.| |
|00001700| 20 20 20 20 20 20 20 20 | 20 20 6d 73 67 70 6f 73 | | msgpos|
|00001710| 74 74 6f 64 61 79 3a 69 | 6e 74 65 67 65 72 3b 20 |ttoday:i|nteger; |
|00001720| 7b 20 6e 6f 2e 20 6f 66 | 20 6d 73 67 73 20 70 6f |{ no. of| msgs po|
|00001730| 73 74 65 64 20 74 6f 64 | 61 79 20 7d 0d 20 20 20 |sted tod|ay }. |
|00001740| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 65 | | e|
|00001750| 6d 61 69 6c 74 6f 64 61 | 79 3a 69 6e 74 65 67 65 |mailtoda|y:intege|
|00001760| 72 3b 20 7b 20 6e 6f 2e | 20 6f 66 20 45 2d 4d 61 |r; { no.| of E-Ma|
|00001770| 69 6c 20 6d 73 67 73 20 | 73 65 6e 74 20 74 6f 64 |il msgs |sent tod|
|00001780| 61 79 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ay }. | |
|00001790| 20 20 20 20 20 20 20 66 | 62 61 63 6b 74 6f 64 61 | f|backtoda|
|000017a0| 79 3a 69 6e 74 65 67 65 | 72 3b 20 7b 20 6e 6f 2e |y:intege|r; { no.|
|000017b0| 20 6f 66 20 46 65 65 64 | 62 61 63 6b 20 6d 73 67 | of Feed|back msg|
|000017c0| 73 20 73 65 6e 74 20 74 | 6f 64 61 79 20 7d 0d 20 |s sent t|oday }. |
|000017d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000017e0| 20 75 70 74 6f 64 61 79 | 3a 69 6e 74 65 67 65 72 | uptoday|:integer|
|000017f0| 3b 20 7b 20 6e 6f 2e 20 | 6f 66 20 75 70 6c 6f 61 |; { no. |of uploa|
|00001800| 64 73 20 74 6f 64 61 79 | 20 7d 0d 20 20 20 20 20 |ds today| }. |
|00001810| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 63 6c 6f | | clo|
|00001820| 73 65 64 73 79 73 74 65 | 6d 3a 62 6f 6f 6c 65 61 |sedsyste|m:boolea|
|00001830| 6e 3b 20 7b 20 63 6c 6f | 73 65 64 20 73 79 73 74 |n; { clo|sed syst|
|00001840| 65 6d 20 66 6c 61 67 20 | 7d 0d 20 20 20 20 20 20 |em flag |}. |
|00001850| 20 20 20 20 20 20 20 20 | 20 20 65 6e 64 3b 0d 09 | | end;..|
|00001860| 20 20 7b 20 61 64 64 65 | 64 20 66 6f 72 20 76 65 | { adde|d for ve|
|00001870| 72 73 69 6f 6e 20 33 2e | 30 20 7d 0d 20 20 20 20 |rsion 3.|0 }. |
|00001880| 20 20 6c 61 75 6e 63 68 | 72 65 63 20 3d 20 72 65 | launch|rec = re|
|00001890| 63 6f 72 64 0d 20 20 20 | 20 20 20 20 20 20 20 20 |cord. | |
|000018a0| 20 20 20 20 20 20 20 20 | 20 20 6c 73 75 62 6c 61 | | lsubla|
|000018b0| 75 6e 63 68 20 3a 20 62 | 6f 6f 6c 65 61 6e 3b 20 |unch : b|oolean; |
|000018c0| 7b 20 74 72 75 65 20 69 | 66 20 73 75 62 2d 6c 61 |{ true i|f sub-la|
|000018d0| 75 6e 63 68 65 64 20 66 | 72 6f 6d 20 42 42 53 20 |unched f|rom BBS |
|000018e0| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|000018f0| 20 20 20 20 20 20 20 6c | 72 65 74 75 72 6e 70 72 | l|returnpr|
|00001900| 6f 67 20 3a 20 73 74 72 | 69 6e 67 5b 38 30 5d 3b |og : str|ing[80];|
|00001910| 20 7b 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 | { name |of this |
|00001920| 70 72 6f 67 72 61 6d 20 | 7d 0d 20 20 20 20 20 20 |program |}. |
|00001930| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6c | | l|
|00001940| 75 73 65 72 6f 6e 20 3a | 20 62 6f 6f 6c 65 61 6e |useron :| boolean|
|00001950| 3b 20 7b 20 74 72 75 65 | 20 69 66 20 75 73 65 72 |; { true| if user|
|00001960| 20 69 73 20 6f 6e 20 2d | 20 6d 6f 73 74 20 6f 66 | is on -| most of|
|00001970| 20 66 6f 6c 6c 6f 77 69 | 6e 67 0d 20 20 20 20 20 | followi|ng. |
|00001980| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001990| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000019a0| 20 20 20 20 20 66 69 65 | 6c 64 73 20 61 72 65 20 | fie|lds are |
|000019b0| 6f 6e 6c 79 20 76 61 6c | 69 64 20 69 66 20 75 73 |only val|id if us|
|000019c0| 65 72 20 69 73 20 6f 6e | 20 7d 0d 20 20 20 20 20 |er is on| }. |
|000019d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000019e0| 6c 69 6e 63 6f 6d 20 3a | 20 62 6f 6f 6c 65 61 6e |lincom :| boolean|
|000019f0| 3b 20 7b 20 69 6e 70 75 | 74 20 66 72 6f 6d 20 73 |; { inpu|t from s|
|00001a00| 65 72 69 61 6c 20 70 6f | 72 74 20 7d 0d 20 20 20 |erial po|rt }. |
|00001a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a20| 20 20 6c 6f 75 74 63 6f | 6d 20 3a 20 62 6f 6f 6c | loutco|m : bool|
|00001a30| 65 61 6e 3b 20 7b 20 6f | 6b 20 74 6f 20 6f 75 74 |ean; { o|k to out|
|00001a40| 70 75 74 20 74 6f 20 73 | 65 72 69 61 6c 20 70 6f |put to s|erial po|
|00001a50| 72 74 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |rt }. | |
|00001a60| 20 20 20 20 20 20 20 20 | 20 20 6c 73 70 64 20 3a | | lspd :|
|00001a70| 20 73 74 72 69 6e 67 5b | 32 30 5d 3b 20 7b 20 63 | string[|20]; { c|
|00001a80| 75 72 72 65 6e 74 20 62 | 61 75 64 20 72 61 74 65 |urrent b|aud rate|
|00001a90| 20 6f 72 20 4b 42 2c 20 | 77 69 74 68 20 74 72 61 | or KB, |with tra|
|00001aa0| 69 6c 69 6e 67 20 6f 70 | 74 69 6f 6e 73 20 7d 0d |iling op|tions }.|
|00001ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ac0| 20 20 20 20 20 6c 68 61 | 6e 67 75 70 20 3a 20 62 | lha|ngup : b|
|00001ad0| 6f 6f 6c 65 61 6e 3b 20 | 7b 20 69 66 20 75 73 65 |oolean; |{ if use|
|00001ae0| 72 20 68 61 73 20 74 6f | 20 68 61 6e 67 20 75 70 |r has to| hang up|
|00001af0| 20 7d 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00001b00| 20 20 20 20 20 20 20 20 | 6c 75 73 65 72 6e 75 6d | |lusernum|
|00001b10| 20 3a 20 69 6e 74 65 67 | 65 72 3b 20 7b 20 74 68 | : integ|er; { th|
|00001b20| 65 20 6e 6f 2e 20 6f 66 | 20 74 68 65 20 75 73 65 |e no. of| the use|
|00001b30| 72 20 7d 0d 09 09 20 20 | 20 20 20 6c 74 68 69 73 |r }... | lthis|
|00001b40| 75 73 65 72 20 3a 20 75 | 73 65 72 72 65 63 3b 20 |user : u|serrec; |
|00001b50| 7b 20 63 75 72 72 65 6e | 74 20 75 73 65 72 20 72 |{ curren|t user r|
|00001b60| 65 63 6f 72 64 20 7d 0d | 20 20 20 20 20 20 20 20 |ecord }.| |
|00001b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6c 72 65 | | lre|
|00001b80| 61 6c 73 6c 20 3a 20 69 | 6e 74 65 67 65 72 3b 20 |alsl : i|nteger; |
|00001b90| 7b 20 63 75 72 72 65 6e | 74 20 75 73 65 72 27 73 |{ curren|t user's|
|00001ba0| 20 72 65 61 6c 20 53 4c | 20 7d 0d 20 20 20 20 20 | real SL| }. |
|00001bb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001bc0| 6c 74 69 6d 65 6f 6e 20 | 3a 20 72 65 61 6c 3b 20 |ltimeon |: real; |
|00001bd0| 7b 20 74 69 6d 65 20 63 | 75 72 72 65 6e 74 20 75 |{ time c|urrent u|
|00001be0| 73 65 72 20 6c 6f 67 67 | 65 64 20 6f 6e 20 7d 0d |ser logg|ed on }.|
|00001bf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c00| 20 20 20 20 20 6c 74 74 | 69 6d 65 20 3a 20 72 65 | ltt|ime : re|
|00001c10| 61 6c 3b 20 7b 20 75 73 | 65 72 27 73 20 61 6c 6c |al; { us|er's all|
|00001c20| 6f 77 65 64 20 74 69 6d | 65 20 6f 6e 20 66 6f 72 |owed tim|e on for|
|00001c30| 20 68 69 73 20 53 4c 20 | 7d 0d 20 20 20 20 20 20 | his SL |}. |
|00001c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6c | | l|
|00001c50| 65 78 74 72 61 74 69 6d | 65 20 3a 20 72 65 61 6c |extratim|e : real|
|00001c60| 3b 20 7b 20 63 75 72 72 | 65 6e 74 20 75 73 65 72 |; { curr|ent user|
|00001c70| 27 73 20 74 69 6d 65 20 | 63 6f 6d 70 65 6e 73 61 |'s time |compensa|
|00001c80| 74 69 6f 6e 20 7d 0d 09 | 09 20 20 20 20 20 6c 63 |tion }..|. lc|
|00001c90| 68 61 74 74 69 6d 65 20 | 3a 20 72 65 61 6c 3b 20 |hattime |: real; |
|00001ca0| 7b 20 64 69 74 74 6f 20 | 66 6f 72 20 63 68 61 74 |{ ditto |for chat|
|00001cb0| 20 7d 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00001cc0| 20 20 20 20 20 20 20 20 | 6c 73 79 73 74 61 74 20 | |lsystat |
|00001cd0| 3a 20 73 79 73 74 61 74 | 72 65 63 3b 20 7b 20 63 |: systat|rec; { c|
|00001ce0| 75 72 72 65 6e 74 20 73 | 74 61 74 75 73 20 72 65 |urrent s|tatus re|
|00001cf0| 63 6f 72 64 20 7d 0d 20 | 20 20 20 20 20 20 20 20 |cord }. | |
|00001d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 6c 73 79 73 | | lsys|
|00001d10| 6f 70 61 76 61 69 6c 20 | 3a 20 62 6f 6f 6c 65 61 |opavail |: boolea|
|00001d20| 6e 3b 20 7b 20 73 79 73 | 6f 70 20 61 76 61 69 6c |n; { sys|op avail|
|00001d30| 61 62 6c 65 20 7d 0d 20 | 20 20 20 20 20 20 20 20 |able }. | |
|00001d40| 20 20 20 20 20 20 20 20 | 20 20 20 20 6c 65 78 74 | | lext|
|00001d50| 72 61 6d 73 67 73 20 3a | 20 69 6e 74 65 67 65 72 |ramsgs :| integer|
|00001d60| 3b 20 7b 20 6e 6f 2e 20 | 6f 66 20 6d 73 67 73 20 |; { no. |of msgs |
|00001d70| 61 6c 6c 6f 77 65 64 20 | 3f 20 7d 0d 20 20 20 20 |allowed |? }. |
|00001d80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d90| 20 6c 63 68 61 74 63 61 | 6c 6c 20 3a 20 62 6f 6f | lchatca|ll : boo|
|00001da0| 6c 65 61 6e 3b 20 7b 20 | 64 6f 65 73 20 75 73 65 |lean; { |does use|
|00001db0| 72 20 77 61 6e 74 20 74 | 6f 20 63 68 61 74 20 7d |r want t|o chat }|
|00001dc0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001dd0| 20 20 20 20 20 20 6c 63 | 68 61 74 72 20 3a 20 73 | lc|hatr : s|
|00001de0| 74 72 74 79 70 65 3b 20 | 7b 20 72 65 61 73 6f 6e |trtype; |{ reason|
|00001df0| 20 66 6f 72 20 63 68 61 | 74 20 7d 0d 20 20 20 20 | for cha|t }. |
|00001e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e10| 20 6c 65 78 70 65 72 74 | 20 3a 20 62 6f 6f 6c 65 | lexpert| : boole|
|00001e20| 61 6e 3b 20 7b 20 75 73 | 65 72 27 73 20 6d 65 6e |an; { us|er's men|
|00001e30| 75 20 65 78 70 65 72 74 | 20 6d 6f 64 65 20 7d 0d |u expert| mode }.|
|00001e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e50| 20 20 20 20 20 6c 66 74 | 6f 64 61 79 20 3a 20 69 | lft|oday : i|
|00001e60| 6e 74 65 67 65 72 3b 20 | 7b 20 61 6d 6f 75 6e 74 |nteger; |{ amount|
|00001e70| 20 6f 66 20 66 65 65 64 | 62 61 63 6b 20 74 6f 64 | of feed|back tod|
|00001e80| 61 79 20 62 79 20 75 73 | 65 72 20 7d 0d 20 20 20 |ay by us|er }. |
|00001e90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ea0| 20 20 6c 65 74 6f 64 61 | 79 20 3a 20 69 6e 74 65 | letoda|y : inte|
|00001eb0| 67 65 72 3b 20 7b 20 61 | 6d 6f 75 6e 74 20 6f 66 |ger; { a|mount of|
|00001ec0| 20 65 6d 61 69 6c 20 73 | 65 6e 74 20 74 6f 64 61 | email s|ent toda|
|00001ed0| 79 20 62 79 20 75 73 65 | 72 20 7d 0d 20 20 20 20 |y by use|r }. |
|00001ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ef0| 20 6c 6d 72 65 61 64 20 | 3a 20 69 6e 74 65 67 65 | lmread |: intege|
|00001f00| 72 3b 20 7b 20 6e 6f 2e | 20 6f 66 20 6d 73 67 73 |r; { no.| of msgs|
|00001f10| 20 72 65 61 64 20 62 79 | 20 75 73 65 72 20 7d 0d | read by| user }.|
|00001f20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f30| 20 20 20 20 20 6c 70 74 | 6f 64 61 79 20 3a 20 69 | lpt|oday : i|
|00001f40| 6e 74 65 67 65 72 3b 20 | 7b 20 6e 6f 2e 20 6f 66 |nteger; |{ no. of|
|00001f50| 20 6d 73 67 73 20 70 6f | 73 74 65 64 20 74 6f 64 | msgs po|sted tod|
|00001f60| 61 79 20 62 79 20 75 73 | 65 72 20 7d 0d 20 20 20 |ay by us|er }. |
|00001f70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 65 | | e|
|00001f80| 6e 64 3b 0d 20 20 56 41 | 52 20 0d 20 20 09 67 6f |nd;. VA|R . .go|
|00001f90| 74 4c 61 75 6e 63 68 20 | 3a 20 62 6f 6f 6c 65 61 |tLaunch |: boolea|
|00001fa0| 6e 3b 0d 09 61 70 70 6e | 61 6d 65 20 3a 20 53 74 |n;..appn|ame : St|
|00001fb0| 72 32 35 35 3b 0d 7b 24 | 49 46 43 20 44 65 62 75 |r255;.{$|IFC Debu|
|00001fc0| 67 7d 0d 20 20 20 20 20 | 20 20 20 64 65 62 75 67 |g}. | debug|
|00001fd0| 66 69 6c 65 20 3a 20 69 | 6e 74 65 67 65 72 3b 0d |file : i|nteger;.|
|00001fe0| 09 72 65 74 63 68 61 72 | 20 3a 20 73 74 72 69 6e |.retchar| : strin|
|00001ff0| 67 5b 31 5d 3b 0d 7b 24 | 45 4e 44 43 7d 0d 09 0d |g[1];.{$|ENDC}...|
|00002000| 20 7b 24 49 20 58 43 6d | 64 47 6c 75 65 2e 69 6e | {$I XCm|dGlue.in|
|00002010| 63 20 7d 0d 0d 20 20 70 | 72 6f 63 65 64 75 72 65 |c }.. p|rocedure|
|00002020| 20 53 65 74 41 47 6c 6f | 62 61 6c 28 74 68 65 6e | SetAGlo|bal(then|
|00002030| 61 6d 65 2c 74 68 65 73 | 74 72 20 3a 20 53 74 72 |ame,thes|tr : Str|
|00002040| 32 35 35 29 3b 0d 20 20 | 0d 20 20 76 61 72 20 74 |255);. |. var t|
|00002050| 65 6d 70 68 61 6e 64 6c | 65 20 3a 20 48 61 6e 64 |emphandl|e : Hand|
|00002060| 6c 65 3b 0d 7b 24 49 46 | 43 20 44 65 62 75 67 7d |le;.{$IF|C Debug}|
|00002070| 0d 20 20 20 20 20 20 49 | 4f 45 72 72 6f 72 20 3a |. I|OError :|
|00002080| 20 4f 53 45 72 72 3b 0d | 20 20 20 20 20 20 63 6f | OSErr;.| co|
|00002090| 75 6e 74 20 3a 20 4c 6f | 6e 67 49 6e 74 3b 0d 7b |unt : Lo|ngInt;.{|
|000020a0| 24 45 4e 44 43 7d 0d 20 | 20 0d 20 20 62 65 67 69 |$ENDC}. | . begi|
|000020b0| 6e 0d 7b 24 49 46 43 20 | 44 65 62 75 67 7d 0d 20 |n.{$IFC |Debug}. |
|000020c0| 20 20 20 20 63 6f 75 6e | 74 20 3a 3d 20 6c 65 6e | coun|t := len|
|000020d0| 67 74 68 28 74 68 65 73 | 74 72 29 3b 0d 20 20 20 |gth(thes|tr);. |
|000020e0| 20 20 49 4f 45 72 72 6f | 72 20 3a 3d 20 46 53 57 | IOErro|r := FSW|
|000020f0| 72 69 74 65 28 64 65 62 | 75 67 66 69 6c 65 2c 63 |rite(deb|ugfile,c|
|00002100| 6f 75 6e 74 2c 70 6f 69 | 6e 74 65 72 28 6f 72 64 |ount,poi|nter(ord|
|00002110| 34 28 40 74 68 65 73 74 | 72 29 20 2b 20 31 29 29 |4(@thest|r) + 1))|
|00002120| 3b 20 7b 20 73 6b 69 70 | 20 6c 65 6e 67 74 68 20 |; { skip| length |
|00002130| 62 79 74 65 20 7d 0d 20 | 20 20 20 20 69 66 20 49 |byte }. | if I|
|00002140| 4f 45 72 72 6f 72 20 3c | 3e 20 6e 6f 45 72 72 20 |OError <|> noErr |
|00002150| 74 68 65 6e 0d 20 20 20 | 20 20 62 65 67 69 6e 0d |then. | begin.|
|00002160| 20 20 20 20 20 65 6e 64 | 3b 0d 20 20 20 20 20 63 | end|;. c|
|00002170| 6f 75 6e 74 20 3a 3d 20 | 31 3b 0d 20 20 20 20 20 |ount := |1;. |
|00002180| 49 4f 45 72 72 6f 72 20 | 3a 3d 20 46 53 57 72 69 |IOError |:= FSWri|
|00002190| 74 65 28 64 65 62 75 67 | 66 69 6c 65 2c 63 6f 75 |te(debug|file,cou|
|000021a0| 6e 74 2c 70 6f 69 6e 74 | 65 72 28 6f 72 64 34 28 |nt,point|er(ord4(|
|000021b0| 40 72 65 74 63 68 61 72 | 29 20 2b 20 31 29 29 3b |@retchar|) + 1));|
|000021c0| 20 7b 20 73 6b 69 70 20 | 6c 65 6e 67 74 68 20 62 | { skip |length b|
|000021d0| 79 74 65 20 7d 0d 20 20 | 20 20 20 69 66 20 49 4f |yte }. | if IO|
|000021e0| 45 72 72 6f 72 20 3c 3e | 20 6e 6f 45 72 72 20 74 |Error <>| noErr t|
|000021f0| 68 65 6e 0d 20 20 20 20 | 20 62 65 67 69 6e 0d 20 |hen. | begin. |
|00002200| 20 20 20 20 65 6e 64 3b | 0d 7b 24 45 4e 44 43 7d | end;|.{$ENDC}|
|00002210| 0d 20 20 20 20 20 74 65 | 6d 70 68 61 6e 64 6c 65 |. te|mphandle|
|00002220| 20 3a 3d 20 50 61 73 54 | 6f 5a 65 72 6f 28 74 68 | := PasT|oZero(th|
|00002230| 65 73 74 72 29 3b 0d 20 | 20 20 20 20 53 65 74 47 |estr);. | SetG|
|00002240| 6c 6f 62 61 6c 28 74 68 | 65 6e 61 6d 65 2c 74 65 |lobal(th|ename,te|
|00002250| 6d 70 68 61 6e 64 6c 65 | 29 3b 0d 20 20 20 20 20 |mphandle|);. |
|00002260| 44 69 73 70 6f 73 48 61 | 6e 64 6c 65 28 74 65 6d |DisposHa|ndle(tem|
|00002270| 70 48 61 6e 64 6c 65 29 | 3b 0d 20 20 65 6e 64 3b |pHandle)|;. end;|
|00002280| 20 7b 20 73 65 74 61 67 | 6c 6f 62 61 6c 20 7d 0d | { setag|lobal }.|
|00002290| 20 20 0d 20 70 72 6f 63 | 65 64 75 72 65 20 47 65 | . proc|edure Ge|
|000022a0| 74 42 42 53 50 61 72 61 | 6d 73 3b 0d 0d 20 76 61 |tBBSPara|ms;.. va|
|000022b0| 72 0d 20 20 20 20 73 70 | 64 20 3a 73 74 72 74 79 |r. sp|d :strty|
|000022c0| 70 65 3b 20 7b 20 74 68 | 65 20 63 75 72 72 65 6e |pe; { th|e curren|
|000022d0| 74 20 62 61 75 64 20 72 | 61 74 65 20 69 6e 63 6c |t baud r|ate incl|
|000022e0| 2e 20 73 75 66 66 69 78 | 20 73 74 72 69 6e 67 20 |. suffix| string |
|000022f0| 7d 0d 20 20 20 20 63 6f | 6d 6e 75 6d 20 3a 20 69 |}. co|mnum : i|
|00002300| 6e 74 65 67 65 72 3b 20 | 7b 20 73 65 72 69 61 6c |nteger; |{ serial|
|00002310| 20 70 6f 72 74 20 6e 6f | 2e 20 7d 0d 20 20 20 20 | port no|. }. |
|00002320| 6d 61 78 62 61 75 64 20 | 3a 20 4c 6f 6e 67 49 6e |maxbaud |: LongIn|
|00002330| 74 3b 20 7b 20 6d 61 78 | 2e 20 62 61 75 64 20 72 |t; { max|. baud r|
|00002340| 61 74 65 20 74 68 61 74 | 20 42 42 53 20 68 61 6e |ate that| BBS han|
|00002350| 64 6c 65 73 20 7d 0d 20 | 20 20 20 4d 69 6e 42 61 |dles }. | MinBa|
|00002360| 75 64 20 3a 20 69 6e 74 | 65 67 65 72 3b 20 7b 20 |ud : int|eger; { |
|00002370| 6d 69 6e 2e 20 62 61 75 | 64 20 72 61 74 65 20 74 |min. bau|d rate t|
|00002380| 68 61 74 20 42 42 53 20 | 61 63 63 65 70 74 73 2c |hat BBS |accepts,|
|00002390| 20 64 65 66 61 75 6c 74 | 20 30 20 7d 0d 20 20 20 | default| 0 }. |
|000023a0| 20 6d 6f 64 65 6d 69 6e | 69 74 20 3a 20 73 74 72 | modemin|it : str|
|000023b0| 74 79 70 65 3b 20 7b 20 | 6d 6f 64 65 6d 20 69 6e |type; { |modem in|
|000023c0| 69 74 20 73 74 72 69 6e | 67 20 7d 0d 20 20 20 20 |it strin|g }. |
|000023d0| 6d 6f 64 65 6d 65 73 63 | 20 3a 20 73 74 72 69 6e |modemesc| : strin|
|000023e0| 67 5b 33 5d 3b 20 7b 20 | 27 2b 2b 2b 27 20 6d 6f |g[3]; { |'+++' mo|
|000023f0| 64 65 6d 20 65 73 63 61 | 70 65 20 73 74 72 20 7d |dem esca|pe str }|
|00002400| 0d 20 20 20 20 0d 20 20 | 20 20 7b 20 70 61 74 68 |. . | { path|
|00002410| 6e 61 6d 65 73 20 66 6f | 72 20 47 46 69 6c 65 73 |names fo|r GFiles|
|00002420| 2c 20 44 4c 6f 61 64 73 | 2c 20 4d 73 67 73 20 7d |, DLoads|, Msgs }|
|00002430| 0d 20 20 20 20 67 66 69 | 6c 65 73 70 61 74 68 20 |. gfi|lespath |
|00002440| 3a 20 73 74 72 74 79 70 | 65 3b 0d 20 20 20 20 70 |: strtyp|e;. p|
|00002450| 61 74 68 64 6c 6f 61 64 | 73 20 3a 20 73 74 72 74 |athdload|s : strt|
|00002460| 79 70 65 3b 0d 20 20 20 | 20 70 61 74 68 6d 73 67 |ype;. | pathmsg|
|00002470| 73 20 3a 20 73 74 72 74 | 79 70 65 3b 0d 0d 20 20 |s : strt|ype;.. |
|00002480| 20 20 6d 73 67 73 70 61 | 74 68 20 3a 20 70 61 63 | msgspa|th : pac|
|00002490| 6b 65 64 20 61 72 72 61 | 79 20 5b 30 2e 2e 31 39 |ked arra|y [0..19|
|000024a0| 5d 20 6f 66 20 73 74 72 | 69 6e 67 5b 38 30 5d 3b |] of str|ing[80];|
|000024b0| 0d 20 20 20 20 64 6c 6f | 61 64 73 70 61 74 68 20 |. dlo|adspath |
|000024c0| 3a 20 70 61 63 6b 65 64 | 20 61 72 72 61 79 20 5b |: packed| array [|
|000024d0| 30 2e 2e 31 39 5d 20 6f | 66 20 73 74 72 69 6e 67 |0..19] o|f string|
|000024e0| 5b 38 30 5d 3b 0d 20 20 | 20 20 0d 20 20 20 20 7b |[80];. | . {|
|000024f0| 20 66 6f 72 20 67 65 74 | 74 69 6e 67 20 42 42 53 | for get|ting BBS|
|00002500| 20 72 65 73 6f 75 72 63 | 65 73 20 7d 0d 20 20 20 | resourc|es }. |
|00002510| 20 42 42 53 72 65 66 4e | 75 6d 20 3a 20 69 6e 74 | BBSrefN|um : int|
|00002520| 65 67 65 72 3b 0d 20 20 | 20 20 49 4f 45 72 72 6f |eger;. | IOErro|
|00002530| 72 20 3a 20 4f 53 45 72 | 72 3b 0d 20 20 20 74 65 |r : OSEr|r;. te|
|00002540| 6d 70 48 61 6e 64 6c 65 | 20 3a 20 48 61 6e 64 6c |mpHandle| : Handl|
|00002550| 65 3b 0d 20 20 20 74 65 | 6d 70 69 6e 74 20 3a 20 |e;. te|mpint : |
|00002560| 69 6e 74 65 67 65 72 3b | 0d 20 20 20 74 65 6d 70 |integer;|. temp|
|00002570| 73 74 72 20 3a 20 53 74 | 72 32 35 35 3b 0d 20 20 |str : St|r255;. |
|00002580| 20 74 65 6d 70 62 6f 6f | 6c 20 3a 20 62 6f 6f 6c | tempboo|l : bool|
|00002590| 65 61 6e 3b 0d 20 20 20 | 74 65 6d 70 6c 6f 6e 67 |ean;. |templong|
|000025a0| 20 3a 20 4c 6f 6e 67 49 | 6e 74 3b 0d 20 20 20 74 | : LongI|nt;. t|
|000025b0| 70 6f 73 20 3a 20 69 6e | 74 65 67 65 72 3b 0d 09 |pos : in|teger;..|
|000025c0| 0d 20 20 62 65 67 69 6e | 0d 20 20 20 20 20 42 42 |. begin|. BB|
|000025d0| 53 72 65 66 4e 75 6d 20 | 3a 3d 20 4f 70 65 6e 52 |SrefNum |:= OpenR|
|000025e0| 65 73 46 69 6c 65 28 61 | 70 70 6e 61 6d 65 29 3b |esFile(a|ppname);|
|000025f0| 0d 20 20 20 20 20 69 66 | 20 52 65 73 45 72 72 6f |. if| ResErro|
|00002600| 72 20 3c 3e 20 6e 6f 45 | 72 72 20 74 68 65 6e 0d |r <> noE|rr then.|
|00002610| 20 20 20 20 20 62 65 67 | 69 6e 0d 20 20 20 20 20 | beg|in. |
|00002620| 20 20 20 65 78 69 74 28 | 67 65 74 62 62 73 70 61 | exit(|getbbspa|
|00002630| 72 61 6d 73 29 3b 0d 20 | 20 20 20 20 65 6e 64 3b |rams);. | end;|
|00002640| 0d 20 0d 20 20 20 20 20 | 7b 20 49 4d 50 4f 52 54 |. . |{ IMPORT|
|00002650| 41 4e 54 20 2d 20 64 6f | 20 6e 6f 74 20 63 61 6c |ANT - do| not cal|
|00002660| 6c 20 6f 74 68 65 72 20 | 43 4f 44 45 20 73 65 67 |l other |CODE seg|
|00002670| 6d 65 6e 74 73 20 77 68 | 69 6c 65 20 42 42 53 20 |ments wh|ile BBS |
|00002680| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002690| 20 20 20 20 52 65 73 46 | 69 6c 65 20 69 73 20 6f | ResF|ile is o|
|000026a0| 70 65 6e 20 2d 20 69 74 | 20 77 6f 6e 27 74 20 77 |pen - it| won't w|
|000026b0| 6f 72 6b 21 20 7d 0d 20 | 0d 20 20 20 74 65 6d 70 |ork! }. |. temp|
|000026c0| 48 61 6e 64 6c 65 20 3a | 3d 20 47 65 74 52 65 73 |Handle :|= GetRes|
|000026d0| 6f 75 72 63 65 28 27 53 | 54 52 23 27 2c 53 74 72 |ource('S|TR#',Str|
|000026e0| 49 44 29 3b 0d 20 20 20 | 69 66 20 28 52 65 73 45 |ID);. |if (ResE|
|000026f0| 72 72 6f 72 20 3c 3e 20 | 6e 6f 45 72 72 29 20 6f |rror <> |noErr) o|
|00002700| 72 20 28 74 65 6d 70 48 | 61 6e 64 6c 65 20 3d 20 |r (tempH|andle = |
|00002710| 6e 69 6c 29 20 74 68 65 | 6e 0d 20 20 20 62 65 67 |nil) the|n. beg|
|00002720| 69 6e 0d 20 20 20 20 20 | 20 65 78 69 74 28 67 65 |in. | exit(ge|
|00002730| 74 62 62 73 70 61 72 61 | 6d 73 29 3b 0d 20 20 20 |tbbspara|ms);. |
|00002740| 65 6e 64 3b 0d 0d 20 20 | 20 66 6f 72 20 74 65 6d |end;.. | for tem|
|00002750| 70 69 6e 74 20 3a 3d 20 | 31 20 74 6f 20 4e 75 6d |pint := |1 to Num|
|00002760| 53 74 72 49 74 65 6d 73 | 20 64 6f 0d 20 20 20 62 |StrItems| do. b|
|00002770| 65 67 69 6e 20 7b 20 67 | 65 74 20 75 73 65 72 20 |egin { g|et user |
|00002780| 64 65 66 69 6e 61 62 6c | 65 20 70 61 72 61 6d 65 |definabl|e parame|
|00002790| 74 65 72 73 20 66 72 6f | 6d 20 52 65 73 6f 75 72 |ters fro|m Resour|
|000027a0| 63 65 20 66 69 6c 65 20 | 7d 0d 20 20 20 20 20 20 |ce file |}. |
|000027b0| 47 65 74 49 6e 64 53 74 | 72 69 6e 67 28 74 65 6d |GetIndSt|ring(tem|
|000027c0| 70 73 74 72 2c 53 74 72 | 49 44 2c 74 65 6d 70 69 |pstr,Str|ID,tempi|
|000027d0| 6e 74 29 3b 0d 20 20 20 | 20 20 20 63 61 73 65 20 |nt);. | case |
|000027e0| 74 65 6d 70 69 6e 74 20 | 6f 66 0d 20 20 20 20 20 |tempint |of. |
|000027f0| 20 31 20 3a 20 62 65 67 | 69 6e 20 53 74 72 69 6e | 1 : beg|in Strin|
|00002800| 67 54 6f 4e 75 6d 28 74 | 65 6d 70 73 74 72 2c 74 |gToNum(t|empstr,t|
|00002810| 65 6d 70 6c 6f 6e 67 29 | 3b 20 63 6f 6d 6e 75 6d |emplong)|; comnum|
|00002820| 20 3a 3d 20 74 65 6d 70 | 6c 6f 6e 67 3b 20 65 6e | := temp|long; en|
|00002830| 64 3b 0d 20 20 20 20 20 | 20 32 20 3a 20 62 65 67 |d;. | 2 : beg|
|00002840| 69 6e 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |in. | |
|00002850| 74 70 6f 73 20 3a 3d 20 | 70 6f 73 28 27 2c 27 2c |tpos := |pos(',',|
|00002860| 74 65 6d 70 73 74 72 29 | 3b 0d 20 20 20 20 20 20 |tempstr)|;. |
|00002870| 20 20 20 20 20 20 20 69 | 66 20 74 70 6f 73 20 3e | i|f tpos >|
|00002880| 20 30 20 74 68 65 6e 0d | 20 20 20 20 20 20 20 20 | 0 then.| |
|00002890| 20 20 20 20 20 62 65 67 | 69 6e 0d 20 20 20 20 20 | beg|in. |
|000028a0| 20 20 20 20 20 20 20 20 | 20 20 20 53 74 72 69 6e | | Strin|
|000028b0| 67 54 6f 4e 75 6d 28 63 | 6f 70 79 28 74 65 6d 70 |gToNum(c|opy(temp|
|000028c0| 73 74 72 2c 31 2c 74 70 | 6f 73 20 2d 20 31 29 2c |str,1,tp|os - 1),|
|000028d0| 74 65 6d 70 6c 6f 6e 67 | 29 3b 0d 20 20 20 20 20 |templong|);. |
|000028e0| 20 20 20 20 20 20 20 20 | 20 20 20 6d 61 78 62 61 | | maxba|
|000028f0| 75 64 20 3a 3d 20 74 65 | 6d 70 6c 6f 6e 67 3b 0d |ud := te|mplong;.|
|00002900| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002910| 64 65 6c 65 74 65 28 74 | 65 6d 70 73 74 72 2c 31 |delete(t|empstr,1|
|00002920| 2c 74 70 6f 73 29 3b 0d | 20 20 20 20 20 20 20 20 |,tpos);.| |
|00002930| 20 20 20 20 20 20 20 20 | 53 74 72 69 6e 67 54 6f | |StringTo|
|00002940| 4e 75 6d 28 74 65 6d 70 | 73 74 72 2c 74 65 6d 70 |Num(temp|str,temp|
|00002950| 6c 6f 6e 67 29 3b 0d 20 | 20 20 20 20 20 20 20 20 |long);. | |
|00002960| 20 20 20 20 20 20 20 6d | 69 6e 62 61 75 64 20 3a | m|inbaud :|
|00002970| 3d 20 74 65 6d 70 6c 6f | 6e 67 3b 0d 20 20 20 20 |= templo|ng;. |
|00002980| 20 20 20 20 20 20 20 20 | 20 65 6e 64 20 65 6c 73 | | end els|
|00002990| 65 0d 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e.. | |
|000029a0| 62 65 67 69 6e 0d 20 20 | 20 20 20 20 20 20 20 20 |begin. | |
|000029b0| 20 20 20 20 20 20 53 74 | 72 69 6e 67 54 6f 4e 75 | St|ringToNu|
|000029c0| 6d 28 74 65 6d 70 73 74 | 72 2c 74 65 6d 70 6c 6f |m(tempst|r,templo|
|000029d0| 6e 67 29 3b 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ng);. | |
|000029e0| 20 20 20 20 20 6d 61 78 | 62 61 75 64 20 3a 3d 20 | max|baud := |
|000029f0| 74 65 6d 70 6c 6f 6e 67 | 3b 0d 20 20 20 20 20 20 |templong|;. |
|00002a00| 20 20 20 20 20 20 20 20 | 20 20 6d 69 6e 62 61 75 | | minbau|
|00002a10| 64 20 3a 3d 20 30 3b 0d | 20 20 20 20 20 20 20 20 |d := 0;.| |
|00002a20| 20 20 20 20 20 65 6e 64 | 3b 0d 20 20 20 20 20 20 | end|;. |
|00002a30| 20 20 20 20 65 6e 64 3b | 0d 20 20 20 20 20 20 33 | end;|. 3|
|00002a40| 20 3a 20 62 65 67 69 6e | 0d 20 20 20 20 20 20 20 | : begin|. |
|00002a50| 20 20 20 20 20 20 47 65 | 74 49 6e 64 53 74 72 69 | Ge|tIndStri|
|00002a60| 6e 67 28 74 65 6d 70 73 | 74 72 2c 53 74 72 49 44 |ng(temps|tr,StrID|
|00002a70| 2c 74 65 6d 70 69 6e 74 | 29 3b 0d 20 20 20 20 20 |,tempint|);. |
|00002a80| 20 20 20 20 20 20 20 20 | 67 66 69 6c 65 73 70 61 | |gfilespa|
|00002a90| 74 68 20 3a 3d 20 74 65 | 6d 70 73 74 72 3b 0d 20 |th := te|mpstr;. |
|00002aa0| 20 20 20 20 20 20 20 20 | 20 65 6e 64 3b 0d 20 20 | | end;. |
|00002ab0| 20 20 20 20 34 20 3a 20 | 62 65 67 69 6e 0d 20 20 | 4 : |begin. |
|00002ac0| 20 20 20 20 20 20 20 20 | 20 20 20 47 65 74 49 6e | | GetIn|
|00002ad0| 64 53 74 72 69 6e 67 28 | 74 65 6d 70 73 74 72 2c |dString(|tempstr,|
|00002ae0| 53 74 72 49 44 2c 74 65 | 6d 70 69 6e 74 29 3b 0d |StrID,te|mpint);.|
|00002af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 70 61 74 | | pat|
|00002b00| 68 64 6c 6f 61 64 73 20 | 3a 3d 20 74 65 6d 70 73 |hdloads |:= temps|
|00002b10| 74 72 3b 0d 20 20 20 20 | 20 20 20 20 20 20 65 6e |tr;. | en|
|00002b20| 64 3b 0d 20 20 20 20 20 | 20 35 20 3a 20 62 65 67 |d;. | 5 : beg|
|00002b30| 69 6e 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |in. | |
|00002b40| 47 65 74 49 6e 64 53 74 | 72 69 6e 67 28 74 65 6d |GetIndSt|ring(tem|
|00002b50| 70 73 74 72 2c 53 74 72 | 49 44 2c 74 65 6d 70 69 |pstr,Str|ID,tempi|
|00002b60| 6e 74 29 3b 0d 20 20 20 | 20 20 20 20 20 20 20 20 |nt);. | |
|00002b70| 20 20 70 61 74 68 6d 73 | 67 73 20 3a 3d 20 74 65 | pathms|gs := te|
|00002b80| 6d 70 73 74 72 3b 0d 20 | 20 20 20 20 20 20 20 20 |mpstr;. | |
|00002b90| 20 65 6e 64 3b 0d 20 20 | 20 20 20 20 65 6e 64 3b | end;. | end;|
|00002ba0| 20 7b 20 63 61 73 65 73 | 20 7d 0d 20 20 20 65 6e | { cases| }. en|
|00002bb0| 64 3b 0d 0d 20 20 20 66 | 6f 72 20 74 65 6d 70 69 |d;.. f|or tempi|
|00002bc0| 6e 74 20 3a 3d 20 30 20 | 74 6f 20 31 39 20 64 6f |nt := 0 |to 19 do|
|00002bd0| 0d 20 20 20 7b 20 67 65 | 74 20 75 73 65 72 20 64 |. { ge|t user d|
|00002be0| 65 66 69 6e 61 62 6c 65 | 20 70 61 72 61 6d 65 74 |efinable| paramet|
|00002bf0| 65 72 73 20 66 72 6f 6d | 20 52 65 73 6f 75 72 63 |ers from| Resourc|
|00002c00| 65 20 66 69 6c 65 20 7d | 0d 20 20 20 62 65 67 69 |e file }|. begi|
|00002c10| 6e 0d 20 20 20 20 20 20 | 47 65 74 49 6e 64 53 74 |n. |GetIndSt|
|00002c20| 72 69 6e 67 28 74 65 6d | 70 73 74 72 2c 4d 73 67 |ring(tem|pstr,Msg|
|00002c30| 73 53 74 72 49 44 2c 74 | 65 6d 70 69 6e 74 20 2b |sStrID,t|empint +|
|00002c40| 20 31 29 3b 0d 20 20 20 | 20 20 20 69 66 20 74 65 | 1);. | if te|
|00002c50| 6d 70 73 74 72 20 3d 20 | 27 27 20 74 68 65 6e 20 |mpstr = |'' then |
|00002c60| 74 65 6d 70 73 74 72 20 | 3a 3d 20 70 61 74 68 6d |tempstr |:= pathm|
|00002c70| 73 67 73 3b 0d 20 20 20 | 20 20 20 6d 73 67 73 70 |sgs;. | msgsp|
|00002c80| 61 74 68 5b 74 65 6d 70 | 69 6e 74 5d 20 3a 3d 20 |ath[temp|int] := |
|00002c90| 74 65 6d 70 73 74 72 3b | 0d 20 20 20 65 6e 64 3b |tempstr;|. end;|
|00002ca0| 0d 0d 20 20 20 66 6f 72 | 20 74 65 6d 70 69 6e 74 |.. for| tempint|
|00002cb0| 20 3a 3d 20 30 20 74 6f | 20 31 39 20 64 6f 0d 20 | := 0 to| 19 do. |
|00002cc0| 20 20 7b 20 67 65 74 20 | 75 73 65 72 20 64 65 66 | { get |user def|
|00002cd0| 69 6e 61 62 6c 65 20 70 | 61 72 61 6d 65 74 65 72 |inable p|arameter|
|00002ce0| 73 20 66 72 6f 6d 20 52 | 65 73 6f 75 72 63 65 20 |s from R|esource |
|00002cf0| 66 69 6c 65 20 7d 0d 20 | 20 20 62 65 67 69 6e 0d |file }. | begin.|
|00002d00| 20 20 20 20 20 20 47 65 | 74 49 6e 64 53 74 72 69 | Ge|tIndStri|
|00002d10| 6e 67 28 74 65 6d 70 73 | 74 72 2c 44 4c 6f 61 64 |ng(temps|tr,DLoad|
|00002d20| 73 53 74 72 49 44 2c 74 | 65 6d 70 69 6e 74 20 2b |sStrID,t|empint +|
|00002d30| 20 31 29 3b 0d 20 20 20 | 20 20 20 69 66 20 74 65 | 1);. | if te|
|00002d40| 6d 70 73 74 72 20 3d 20 | 27 27 20 74 68 65 6e 20 |mpstr = |'' then |
|00002d50| 74 65 6d 70 73 74 72 20 | 3a 3d 20 70 61 74 68 64 |tempstr |:= pathd|
|00002d60| 6c 6f 61 64 73 3b 0d 20 | 20 20 20 20 20 64 6c 6f |loads;. | dlo|
|00002d70| 61 64 73 70 61 74 68 5b | 74 65 6d 70 69 6e 74 5d |adspath[|tempint]|
|00002d80| 20 3a 3d 20 74 65 6d 70 | 73 74 72 3b 0d 20 20 20 | := temp|str;. |
|00002d90| 65 6e 64 3b 0d 0d 20 20 | 20 74 65 6d 70 48 61 6e |end;.. | tempHan|
|00002da0| 64 6c 65 20 3a 3d 20 47 | 65 74 52 65 73 6f 75 72 |dle := G|etResour|
|00002db0| 63 65 28 27 53 54 52 23 | 27 2c 6d 6f 64 65 6d 53 |ce('STR#|',modemS|
|00002dc0| 74 72 49 44 29 3b 0d 20 | 20 20 69 66 20 28 52 65 |trID);. | if (Re|
|00002dd0| 73 45 72 72 6f 72 20 3c | 3e 20 6e 6f 45 72 72 29 |sError <|> noErr)|
|00002de0| 20 6f 72 20 28 74 65 6d | 70 48 61 6e 64 6c 65 20 | or (tem|pHandle |
|00002df0| 3d 20 6e 69 6c 29 20 74 | 68 65 6e 0d 20 20 20 62 |= nil) t|hen. b|
|00002e00| 65 67 69 6e 20 7b 20 65 | 72 72 6f 72 20 7d 0d 20 |egin { e|rror }. |
|00002e10| 20 20 20 20 20 65 78 69 | 74 28 67 65 74 62 62 73 | exi|t(getbbs|
|00002e20| 70 61 72 61 6d 73 29 3b | 0d 20 20 20 65 6e 64 3b |params);|. end;|
|00002e30| 0d 0d 20 20 20 47 65 74 | 49 6e 64 53 74 72 69 6e |.. Get|IndStrin|
|00002e40| 67 28 74 65 6d 70 73 74 | 72 2c 6d 6f 64 65 6d 53 |g(tempst|r,modemS|
|00002e50| 74 72 49 44 2c 6d 69 6e | 69 74 49 74 65 6d 29 3b |trID,min|itItem);|
|00002e60| 0d 20 20 20 69 66 20 74 | 65 6d 70 73 74 72 20 3c |. if t|empstr <|
|00002e70| 3e 20 27 27 20 74 68 65 | 6e 20 6d 6f 64 65 6d 69 |> '' the|n modemi|
|00002e80| 6e 69 74 20 3a 3d 20 74 | 65 6d 70 73 74 72 3b 0d |nit := t|empstr;.|
|00002e90| 0d 20 20 20 6d 6f 64 65 | 6d 65 73 63 20 3a 3d 20 |. mode|mesc := |
|00002ea0| 27 2b 2b 2b 27 3b 0d 20 | 20 20 74 65 6d 70 69 6e |'+++';. | tempin|
|00002eb0| 74 20 3a 3d 20 70 6f 73 | 28 27 53 32 3d 27 2c 6d |t := pos|('S2=',m|
|00002ec0| 6f 64 65 6d 69 6e 69 74 | 29 3b 0d 20 20 20 69 66 |odeminit|);. if|
|00002ed0| 20 74 65 6d 70 69 6e 74 | 20 3d 20 30 20 74 68 65 | tempint| = 0 the|
|00002ee0| 6e 0d 20 20 20 20 20 20 | 74 65 6d 70 69 6e 74 20 |n. |tempint |
|00002ef0| 3a 3d 20 70 6f 73 28 27 | 73 32 3d 27 2c 6d 6f 64 |:= pos('|s2=',mod|
|00002f00| 65 6d 69 6e 69 74 29 3b | 0d 20 20 20 69 66 20 74 |eminit);|. if t|
|00002f10| 65 6d 70 69 6e 74 20 3e | 20 30 20 74 68 65 6e 0d |empint >| 0 then.|
|00002f20| 20 20 20 62 65 67 69 6e | 20 7b 20 67 65 74 20 6d | begin| { get m|
|00002f30| 6f 64 65 6d 20 65 73 63 | 61 70 65 20 73 74 72 69 |odem esc|ape stri|
|00002f40| 6e 67 20 7d 0d 20 20 20 | 20 20 20 74 65 6d 70 62 |ng }. | tempb|
|00002f50| 6f 6f 6c 20 3a 3d 20 66 | 61 6c 73 65 3b 0d 20 20 |ool := f|alse;. |
|00002f60| 20 20 20 20 74 65 6d 70 | 73 74 72 20 3a 3d 20 63 | temp|str := c|
|00002f70| 6f 70 79 28 6d 6f 64 65 | 6d 69 6e 69 74 2c 74 65 |opy(mode|minit,te|
|00002f80| 6d 70 69 6e 74 20 2b 20 | 33 2c 6c 65 6e 67 74 68 |mpint + |3,length|
|00002f90| 28 6d 6f 64 65 6d 69 6e | 69 74 29 20 2d 20 74 65 |(modemin|it) - te|
|00002fa0| 6d 70 69 6e 74 20 2d 20 | 32 29 3b 0d 20 20 20 20 |mpint - |2);. |
|00002fb0| 20 20 74 65 6d 70 69 6e | 74 20 3a 3d 20 31 3b 0d | tempin|t := 1;.|
|00002fc0| 20 20 20 20 20 20 77 68 | 69 6c 65 20 28 74 65 6d | wh|ile (tem|
|00002fd0| 70 69 6e 74 20 3c 3d 20 | 6c 65 6e 67 74 68 28 74 |pint <= |length(t|
|00002fe0| 65 6d 70 73 74 72 29 29 | 20 61 6e 64 20 6e 6f 74 |empstr))| and not|
|00002ff0| 20 74 65 6d 70 62 6f 6f | 6c 20 64 6f 0d 20 20 20 | tempboo|l do. |
|00003000| 20 20 20 62 65 67 69 6e | 0d 20 20 20 20 20 20 20 | begin|. |
|00003010| 20 20 69 66 20 74 65 6d | 70 73 74 72 5b 74 65 6d | if tem|pstr[tem|
|00003020| 70 69 6e 74 5d 20 69 6e | 20 5b 27 30 27 2e 2e 27 |pint] in| ['0'..'|
|00003030| 39 27 5d 20 74 68 65 6e | 0d 20 20 20 20 20 20 20 |9'] then|. |
|00003040| 20 20 20 20 20 74 65 6d | 70 69 6e 74 20 3a 3d 20 | tem|pint := |
|00003050| 74 65 6d 70 69 6e 74 20 | 2b 20 31 20 65 6c 73 65 |tempint |+ 1 else|
|00003060| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 74 65 6d |. | tem|
|00003070| 70 62 6f 6f 6c 20 3a 3d | 20 74 72 75 65 3b 0d 20 |pbool :=| true;. |
|00003080| 20 20 20 20 20 65 6e 64 | 3b 0d 20 20 20 20 20 20 | end|;. |
|00003090| 53 74 72 69 6e 67 54 6f | 4e 75 6d 28 63 6f 70 79 |StringTo|Num(copy|
|000030a0| 28 74 65 6d 70 73 74 72 | 2c 31 2c 74 65 6d 70 69 |(tempstr|,1,tempi|
|000030b0| 6e 74 20 2d 20 31 29 2c | 74 65 6d 70 6c 6f 6e 67 |nt - 1),|templong|
|000030c0| 29 3b 0d 20 20 20 20 20 | 20 66 6f 72 20 74 65 6d |);. | for tem|
|000030d0| 70 69 6e 74 20 3a 3d 20 | 31 20 74 6f 20 33 20 64 |pint := |1 to 3 d|
|000030e0| 6f 20 6d 6f 64 65 6d 65 | 73 63 5b 74 65 6d 70 69 |o modeme|sc[tempi|
|000030f0| 6e 74 5d 20 3a 3d 20 63 | 68 72 28 74 65 6d 70 6c |nt] := c|hr(templ|
|00003100| 6f 6e 67 29 3b 0d 20 20 | 20 65 6e 64 3b 0d 20 20 |ong);. | end;. |
|00003110| 20 20 20 20 0d 20 20 20 | 69 66 20 28 42 42 53 72 | . |if (BBSr|
|00003120| 65 66 4e 75 6d 20 3e 3d | 20 30 29 20 74 68 65 6e |efNum >=| 0) then|
|00003130| 20 43 6c 6f 73 65 52 65 | 73 46 69 6c 65 28 42 42 | CloseRe|sFile(BB|
|00003140| 53 72 65 66 4e 75 6d 29 | 3b 0d 20 0d 20 20 20 20 |SrefNum)|;. . |
|00003150| 53 65 74 41 47 6c 6f 62 | 61 6c 28 27 63 6f 6d 6e |SetAGlob|al('comn|
|00003160| 75 6d 27 2c 4e 75 6d 54 | 6f 53 74 72 28 63 6f 6d |um',NumT|oStr(com|
|00003170| 6e 75 6d 29 29 3b 0d 20 | 20 20 20 53 65 74 41 47 |num));. | SetAG|
|00003180| 6c 6f 62 61 6c 28 27 6d | 61 78 62 61 75 64 27 2c |lobal('m|axbaud',|
|00003190| 4e 75 6d 54 6f 53 74 72 | 28 6d 61 78 62 61 75 64 |NumToStr|(maxbaud|
|000031a0| 29 29 3b 0d 20 20 20 20 | 53 65 74 41 47 6c 6f 62 |));. |SetAGlob|
|000031b0| 61 6c 28 27 6d 69 6e 62 | 61 75 64 27 2c 4e 75 6d |al('minb|aud',Num|
|000031c0| 54 6f 53 74 72 28 6d 69 | 6e 62 61 75 64 29 29 3b |ToStr(mi|nbaud));|
|000031d0| 0d 20 20 20 20 53 65 74 | 41 47 6c 6f 62 61 6c 28 |. Set|AGlobal(|
|000031e0| 27 6d 6f 64 65 6d 69 6e | 69 74 27 2c 6d 6f 64 65 |'modemin|it',mode|
|000031f0| 6d 69 6e 69 74 29 3b 0d | 20 20 20 20 53 65 74 41 |minit);.| SetA|
|00003200| 47 4c 6f 62 61 6c 28 27 | 6d 6f 64 65 6d 65 73 63 |GLobal('|modemesc|
|00003210| 27 2c 6d 6f 64 65 6d 65 | 73 63 29 3b 0d 20 20 20 |',modeme|sc);. |
|00003220| 20 0d 20 20 20 20 53 65 | 74 41 47 6c 6f 62 61 6c | . Se|tAGlobal|
|00003230| 28 27 67 66 69 6c 65 73 | 70 61 74 68 27 2c 67 66 |('gfiles|path',gf|
|00003240| 69 6c 65 73 70 61 74 68 | 29 3b 0d 20 20 20 20 53 |ilespath|);. S|
|00003250| 65 74 41 47 6c 6f 62 61 | 6c 28 27 70 61 74 68 64 |etAGloba|l('pathd|
|00003260| 6c 6f 61 64 73 27 2c 70 | 61 74 68 64 6c 6f 61 64 |loads',p|athdload|
|00003270| 73 29 3b 0d 20 20 20 20 | 53 65 74 41 47 6c 6f 62 |s);. |SetAGlob|
|00003280| 61 6c 28 27 70 61 74 68 | 6d 73 67 73 27 2c 70 61 |al('path|msgs',pa|
|00003290| 74 68 6d 73 67 73 29 3b | 0d 0d 20 20 20 20 66 6f |thmsgs);|.. fo|
|000032a0| 72 20 74 65 6d 70 69 6e | 74 20 3a 3d 20 30 20 74 |r tempin|t := 0 t|
|000032b0| 6f 20 31 39 20 64 6f 0d | 20 20 20 20 20 20 20 53 |o 19 do.| S|
|000032c0| 65 74 41 47 6c 6f 62 61 | 6c 28 63 6f 6e 63 61 74 |etAGloba|l(concat|
|000032d0| 28 27 6d 73 67 73 70 61 | 74 68 5f 27 2c 4e 75 6d |('msgspa|th_',Num|
|000032e0| 54 6f 53 74 72 28 74 65 | 6d 70 69 6e 74 29 29 2c |ToStr(te|mpint)),|
|000032f0| 6d 73 67 73 70 61 74 68 | 5b 74 65 6d 70 69 6e 74 |msgspath|[tempint|
|00003300| 5d 29 3b 0d 20 20 20 20 | 66 6f 72 20 74 65 6d 70 |]);. |for temp|
|00003310| 69 6e 74 20 3a 3d 20 30 | 20 74 6f 20 31 39 20 64 |int := 0| to 19 d|
|00003320| 6f 0d 20 20 20 20 20 20 | 20 53 65 74 41 47 6c 6f |o. | SetAGlo|
|00003330| 62 61 6c 28 63 6f 6e 63 | 61 74 28 27 64 6c 6f 61 |bal(conc|at('dloa|
|00003340| 64 73 70 61 74 68 5f 27 | 2c 4e 75 6d 54 6f 53 74 |dspath_'|,NumToSt|
|00003350| 72 28 74 65 6d 70 69 6e | 74 29 29 2c 64 6c 6f 61 |r(tempin|t)),dloa|
|00003360| 64 73 70 61 74 68 5b 74 | 65 6d 70 69 6e 74 5d 29 |dspath[t|empint])|
|00003370| 3b 0d 20 20 65 6e 64 3b | 20 7b 20 67 65 74 62 62 |;. end;| { getbb|
|00003380| 73 70 61 72 61 6d 73 20 | 7d 0d 0d 20 20 70 72 6f |sparams |}.. pro|
|00003390| 63 65 64 75 72 65 20 47 | 65 74 4c 44 61 74 61 3b |cedure G|etLData;|
|000033a0| 0d 0d 20 20 76 61 72 0d | 09 6c 61 75 6e 63 68 66 |.. var.|.launchf|
|000033b0| 69 6c 65 20 3a 20 69 6e | 74 65 67 65 72 3b 0d 09 |ile : in|teger;..|
|000033c0| 6c 61 75 6e 63 68 64 61 | 74 61 20 3a 20 4c 61 75 |launchda|ta : Lau|
|000033d0| 6e 63 68 52 65 63 3b 0d | 09 74 65 6d 70 50 74 72 |nchRec;.|.tempPtr|
|000033e0| 20 3a 20 5e 69 6e 74 65 | 67 65 72 3b 0d 09 44 65 | : ^inte|ger;..De|
|000033f0| 66 61 75 6c 74 57 44 20 | 3a 20 69 6e 74 65 67 65 |faultWD |: intege|
|00003400| 72 3b 0d 09 49 4f 45 72 | 72 6f 72 20 3a 20 4f 53 |r;..IOEr|ror : OS|
|00003410| 45 72 72 3b 0d 09 63 6f | 75 6e 74 20 3a 20 4c 6f |Err;..co|unt : Lo|
|00003420| 6e 67 49 6e 74 3b 0d 09 | 74 72 65 73 74 72 69 63 |ngInt;..|trestric|
|00003430| 74 69 6f 6e 73 20 3a 20 | 72 65 73 74 72 69 63 74 |tions : |restrict|
|00003440| 69 6f 6e 73 3b 0d 09 74 | 61 63 72 71 20 3a 20 61 |ions;..t|acrq : a|
|00003450| 63 72 71 3b 0d 09 74 64 | 65 66 6c 74 73 20 3a 20 |crq;..td|eflts : |
|00003460| 64 65 66 6c 74 73 3b 0d | 09 74 6f 70 74 73 20 3a |deflts;.|.topts :|
|00003470| 20 6f 70 74 73 3b 0d 09 | 74 65 6d 70 73 74 72 2c | opts;..|tempstr,|
|00003480| 74 73 74 72 20 3a 20 53 | 74 72 32 35 35 3b 0d 09 |tstr : S|tr255;..|
|00003490| 74 65 6d 70 69 6e 74 20 | 3a 20 69 6e 74 65 67 65 |tempint |: intege|
|000034a0| 72 3b 0d 0d 20 20 42 45 | 47 49 4e 0d 20 20 20 20 |r;.. BE|GIN. |
|000034b0| 20 67 6f 74 4c 61 75 6e | 63 68 20 3a 3d 20 66 61 | gotLaun|ch := fa|
|000034c0| 6c 73 65 3b 0d 20 20 20 | 20 20 0d 20 20 20 20 20 |lse;. | . |
|000034d0| 49 4f 45 72 72 6f 72 20 | 3a 3d 20 47 65 74 56 6f |IOError |:= GetVo|
|000034e0| 6c 28 40 74 65 6d 70 73 | 74 72 2c 44 65 66 61 75 |l(@temps|tr,Defau|
|000034f0| 6c 74 57 44 29 3b 0d 0d | 7b 24 49 46 43 20 44 65 |ltWD);..|{$IFC De|
|00003500| 62 75 67 7d 0d 20 20 20 | 20 20 49 4f 45 72 72 6f |bug}. | IOErro|
|00003510| 72 20 3a 3d 20 46 53 44 | 65 6c 65 74 65 28 27 64 |r := FSD|elete('d|
|00003520| 65 62 75 67 20 67 65 74 | 6c 61 75 6e 63 68 27 2c |ebug get|launch',|
|00003530| 44 65 66 61 75 6c 74 57 | 44 29 3b 0d 20 20 20 20 |DefaultW|D);. |
|00003540| 20 69 66 20 49 4f 45 72 | 72 6f 72 20 3c 3e 20 6e | if IOEr|ror <> n|
|00003550| 6f 45 72 72 20 74 68 65 | 6e 0d 20 20 20 20 20 62 |oErr the|n. b|
|00003560| 65 67 69 6e 0d 20 20 20 | 20 20 65 6e 64 3b 0d 20 |egin. | end;. |
|00003570| 20 20 20 20 49 4f 45 72 | 72 6f 72 20 3a 3d 20 43 | IOEr|ror := C|
|00003580| 72 65 61 74 65 28 27 64 | 65 62 75 67 20 67 65 74 |reate('d|ebug get|
|00003590| 6c 61 75 6e 63 68 27 2c | 44 65 66 61 75 6c 74 57 |launch',|DefaultW|
|000035a0| 44 2c 27 45 44 49 54 27 | 2c 27 54 45 58 54 27 29 |D,'EDIT'|,'TEXT')|
|000035b0| 3b 0d 20 20 20 20 20 69 | 66 20 49 4f 45 72 72 6f |;. i|f IOErro|
|000035c0| 72 20 3c 3e 20 6e 6f 45 | 72 72 20 74 68 65 6e 0d |r <> noE|rr then.|
|000035d0| 20 20 20 20 20 62 65 67 | 69 6e 0d 20 20 20 20 20 | beg|in. |
|000035e0| 65 6e 64 3b 0d 20 20 20 | 20 20 49 4f 45 72 72 6f |end;. | IOErro|
|000035f0| 72 20 3a 3d 20 46 53 4f | 70 65 6e 28 27 64 65 62 |r := FSO|pen('deb|
|00003600| 75 67 20 67 65 74 6c 61 | 75 6e 63 68 27 2c 44 65 |ug getla|unch',De|
|00003610| 66 61 75 6c 74 57 44 2c | 64 65 62 75 67 66 69 6c |faultWD,|debugfil|
|00003620| 65 29 3b 0d 20 20 20 20 | 20 72 65 74 63 68 61 72 |e);. | retchar|
|00003630| 20 3a 3d 20 27 20 27 3b | 20 72 65 74 63 68 61 72 | := ' ';| retchar|
|00003640| 5b 31 5d 20 3a 3d 20 63 | 68 72 28 31 33 29 3b 0d |[1] := c|hr(13);.|
|00003650| 7b 24 45 4e 44 43 7d 0d | 0d 20 20 20 20 20 49 4f |{$ENDC}.|. IO|
|00003660| 45 72 72 6f 72 20 3a 3d | 20 46 53 4f 70 65 6e 28 |Error :=| FSOpen(|
|00003670| 27 6c 61 75 6e 63 68 2e | 62 62 73 27 2c 44 65 66 |'launch.|bbs',Def|
|00003680| 61 75 6c 74 57 44 2c 6c | 61 75 6e 63 68 66 69 6c |aultWD,l|aunchfil|
|00003690| 65 29 3b 0d 20 20 20 20 | 20 69 66 20 49 4f 45 72 |e);. | if IOEr|
|000036a0| 72 6f 72 20 3d 20 6e 6f | 45 72 72 20 74 68 65 6e |ror = no|Err then|
|000036b0| 0d 20 20 20 20 20 62 65 | 67 69 6e 0d 20 20 20 20 |. be|gin. |
|000036c0| 20 20 20 20 67 6f 74 4c | 61 75 6e 63 68 20 3a 3d | gotL|aunch :=|
|000036d0| 20 74 72 75 65 3b 0d 20 | 20 20 20 20 0d 20 20 20 | true;. | . |
|000036e0| 20 20 20 20 20 63 6f 75 | 6e 74 20 3a 3d 20 73 69 | cou|nt := si|
|000036f0| 7a 65 6f 66 28 6c 61 75 | 6e 63 68 64 61 74 61 29 |zeof(lau|nchdata)|
|00003700| 3b 0d 20 20 20 20 20 20 | 20 20 49 4f 45 72 72 6f |;. | IOErro|
|00003710| 72 20 3a 3d 20 46 53 52 | 65 61 64 28 6c 61 75 6e |r := FSR|ead(laun|
|00003720| 63 68 66 69 6c 65 2c 63 | 6f 75 6e 74 2c 40 6c 61 |chfile,c|ount,@la|
|00003730| 75 6e 63 68 64 61 74 61 | 29 3b 0d 20 20 20 20 20 |unchdata|);. |
|00003740| 20 20 20 69 66 20 49 4f | 45 72 72 6f 72 20 3d 20 | if IO|Error = |
|00003750| 6e 6f 45 72 72 20 74 68 | 65 6e 0d 20 20 20 20 20 |noErr th|en. |
|00003760| 20 20 20 77 69 74 68 20 | 6c 61 75 6e 63 68 64 61 | with |launchda|
|00003770| 74 61 20 64 6f 0d 20 20 | 20 20 20 20 20 20 62 65 |ta do. | be|
|00003780| 67 69 6e 0d 09 20 20 20 | 53 65 74 41 47 6c 6f 62 |gin.. |SetAGlob|
|00003790| 61 6c 28 27 6c 73 75 62 | 6c 61 75 6e 63 68 27 2c |al('lsub|launch',|
|000037a0| 42 6f 6f 6c 74 6f 53 74 | 72 28 6c 73 75 62 6c 61 |BooltoSt|r(lsubla|
|000037b0| 75 6e 63 68 29 29 3b 0d | 20 20 20 20 20 20 20 20 |unch));.| |
|000037c0| 20 20 20 53 65 74 41 47 | 6c 6f 62 61 6c 28 27 6c | SetAG|lobal('l|
|000037d0| 72 65 74 75 72 6e 70 72 | 6f 67 27 2c 6c 72 65 74 |returnpr|og',lret|
|000037e0| 75 72 6e 70 72 6f 67 29 | 3b 0d 09 20 20 20 61 70 |urnprog)|;.. ap|
|000037f0| 70 6e 61 6d 65 20 3a 3d | 20 6c 72 65 74 75 72 6e |pname :=| lreturn|
|00003800| 70 72 6f 67 3b 20 7b 20 | 66 6f 72 20 6f 70 65 6e |prog; { |for open|
|00003810| 69 6e 67 20 74 68 65 20 | 42 42 53 20 72 65 73 6f |ing the |BBS reso|
|00003820| 75 72 63 65 20 66 69 6c | 65 20 6c 61 74 65 72 20 |urce fil|e later |
|00003830| 7d 0d 09 20 20 20 53 65 | 74 41 47 6c 6f 62 61 6c |}.. Se|tAGlobal|
|00003840| 28 27 6c 75 73 65 72 6f | 6e 27 2c 42 6f 6f 6c 74 |('lusero|n',Boolt|
|00003850| 6f 53 74 72 28 6c 75 73 | 65 72 6f 6e 29 29 3b 0d |oStr(lus|eron));.|
|00003860| 09 20 20 20 53 65 74 41 | 47 6c 6f 62 61 6c 28 27 |. SetA|Global('|
|00003870| 6c 69 6e 63 6f 6d 27 2c | 42 6f 6f 6c 74 6f 53 74 |lincom',|BooltoSt|
|00003880| 72 28 6c 69 6e 63 6f 6d | 29 29 3b 0d 09 20 20 20 |r(lincom|));.. |
|00003890| 53 65 74 41 47 6c 6f 62 | 61 6c 28 27 6c 6f 75 74 |SetAGlob|al('lout|
|000038a0| 63 6f 6d 27 2c 42 6f 6f | 6c 74 6f 53 74 72 28 6c |com',Boo|ltoStr(l|
|000038b0| 6f 75 74 63 6f 6d 29 29 | 3b 0d 20 20 20 20 20 20 |outcom))|;. |
|000038c0| 20 20 20 20 20 53 65 74 | 41 47 6c 6f 62 61 6c 28 | Set|AGlobal(|
|000038d0| 27 6c 73 70 64 27 2c 6c | 73 70 64 29 3b 0d 09 20 |'lspd',l|spd);.. |
|000038e0| 20 20 53 65 74 41 47 6c | 6f 62 61 6c 28 27 6c 68 | SetAGl|obal('lh|
|000038f0| 61 6e 67 75 70 27 2c 42 | 6f 6f 6c 74 6f 53 74 72 |angup',B|ooltoStr|
|00003900| 28 6c 68 61 6e 67 75 70 | 29 29 3b 0d 09 20 20 20 |(lhangup|));.. |
|00003910| 53 65 74 41 47 6c 6f 62 | 61 6c 28 27 6c 75 73 65 |SetAGlob|al('luse|
|00003920| 72 6e 75 6d 27 2c 4e 75 | 6d 74 6f 53 74 72 28 6c |rnum',Nu|mtoStr(l|
|00003930| 75 73 65 72 6e 75 6d 29 | 29 3b 0d 09 20 20 20 77 |usernum)|);.. w|
|00003940| 69 74 68 20 6c 74 68 69 | 73 75 73 65 72 20 64 6f |ith lthi|suser do|
|00003950| 0d 20 20 20 20 20 20 20 | 20 20 20 20 62 65 67 69 |. | begi|
|00003960| 6e 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n. | |
|00003970| 53 65 74 41 47 6c 6f 62 | 61 6c 28 27 6c 74 68 69 |SetAGlob|al('lthi|
|00003980| 73 75 73 65 72 5f 6e 61 | 6d 65 27 2c 6e 61 6d 65 |suser_na|me',name|
|00003990| 29 3b 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|000039a0| 20 53 65 74 41 47 6c 6f | 62 61 6c 28 27 6c 74 68 | SetAGlo|bal('lth|
|000039b0| 69 73 75 73 65 72 5f 72 | 65 61 6c 6e 61 6d 65 27 |isuser_r|ealname'|
|000039c0| 2c 72 65 61 6c 6e 61 6d | 65 29 3b 0d 09 20 20 20 |,realnam|e);.. |
|000039d0| 20 20 20 53 65 74 41 47 | 6c 6f 62 61 6c 28 27 6c | SetAG|lobal('l|
|000039e0| 74 68 69 73 75 73 65 72 | 5f 64 65 6c 65 74 65 64 |thisuser|_deleted|
|000039f0| 27 2c 42 6f 6f 6c 74 6f | 53 74 72 28 64 65 6c 65 |',Boolto|Str(dele|
|00003a00| 74 65 64 29 29 3b 0d 20 | 20 20 20 20 20 20 20 20 |ted));. | |
|00003a10| 20 20 20 20 20 7b 20 6d | 61 79 62 65 20 6e 6f 74 | { m|aybe not|
|00003a20| 20 72 65 74 75 72 6e 20 | 6e 65 78 74 20 76 61 6c | return |next val|
|00003a30| 75 65 20 73 6f 20 73 65 | 63 75 72 69 74 79 20 69 |ue so se|curity i|
|00003a40| 73 6e 27 74 20 63 6f 6d | 70 72 6f 6d 69 73 65 64 |sn't com|promised|
|00003a50| 20 7d 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00003a60| 20 53 65 74 41 47 6c 6f | 62 61 6c 28 27 6c 74 68 | SetAGlo|bal('lth|
|00003a70| 69 73 75 73 65 72 5f 70 | 77 27 2c 70 77 29 3b 0d |isuser_p|w',pw);.|
|00003a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 53 65 | | Se|
|00003a90| 74 41 47 6c 6f 62 61 6c | 28 27 6c 74 68 69 73 75 |tAGlobal|('lthisu|
|00003aa0| 73 65 72 5f 70 68 27 2c | 70 68 29 3b 0d 09 20 20 |ser_ph',|ph);.. |
|00003ab0| 20 20 20 20 53 65 74 41 | 47 6c 6f 62 61 6c 28 27 | SetA|Global('|
|00003ac0| 6c 74 68 69 73 75 73 65 | 72 5f 77 61 69 74 69 6e |lthisuse|r_waitin|
|00003ad0| 67 27 2c 4e 75 6d 74 6f | 53 74 72 28 77 61 69 74 |g',Numto|Str(wait|
|00003ae0| 69 6e 67 29 29 3b 0d 20 | 20 20 20 20 20 20 20 20 |ing));. | |
|00003af0| 20 20 20 20 20 53 65 74 | 41 47 6c 6f 62 61 6c 28 | Set|AGlobal(|
|00003b00| 27 6c 74 68 69 73 75 73 | 65 72 5f 6c 61 73 74 6f |'lthisus|er_lasto|
|00003b10| 6e 27 2c 6c 61 73 74 6f | 6e 29 3b 0d 09 20 20 20 |n',lasto|n);.. |
|00003b20| 20 20 20 53 65 74 41 47 | 6c 6f 62 61 6c 28 27 6c | SetAG|lobal('l|
|00003b30| 74 68 69 73 75 73 65 72 | 5f 6c 6f 67 67 65 64 6f |thisuser|_loggedo|
|00003b40| 6e 27 2c 4e 75 6d 74 6f | 53 74 72 28 6c 6f 67 67 |n',Numto|Str(logg|
|00003b50| 65 64 6f 6e 29 29 3b 0d | 09 20 20 20 20 20 20 53 |edon));.|. S|
|00003b60| 65 74 41 47 6c 6f 62 61 | 6c 28 27 6c 74 68 69 73 |etAGloba|l('lthis|
|00003b70| 75 73 65 72 5f 6d 73 67 | 70 6f 73 74 27 2c 4e 75 |user_msg|post',Nu|
|00003b80| 6d 74 6f 53 74 72 28 6d | 73 67 70 6f 73 74 29 29 |mtoStr(m|sgpost))|
|00003b90| 3b 0d 09 20 20 20 20 20 | 20 53 65 74 41 47 6c 6f |;.. | SetAGlo|
|00003ba0| 62 61 6c 28 27 6c 74 68 | 69 73 75 73 65 72 5f 65 |bal('lth|isuser_e|
|00003bb0| 6d 61 69 6c 73 65 6e 74 | 27 2c 4e 75 6d 74 6f 53 |mailsent|',NumtoS|
|00003bc0| 74 72 28 65 6d 61 69 6c | 73 65 6e 74 29 29 3b 0d |tr(email|sent));.|
|00003bd0| 09 20 20 20 20 20 20 53 | 65 74 41 47 6c 6f 62 61 |. S|etAGloba|
|00003be0| 6c 28 27 6c 74 68 69 73 | 75 73 65 72 5f 66 65 65 |l('lthis|user_fee|
|00003bf0| 64 62 61 63 6b 27 2c 4e | 75 6d 74 6f 53 74 72 28 |dback',N|umtoStr(|
|00003c00| 66 65 65 64 62 61 63 6b | 29 29 3b 0d 09 20 20 20 |feedback|));.. |
|00003c10| 20 20 20 53 65 74 41 47 | 6c 6f 62 61 6c 28 27 6c | SetAG|lobal('l|
|00003c20| 74 68 69 73 75 73 65 72 | 5f 6c 69 6e 65 6c 65 6e |thisuser|_linelen|
|00003c30| 27 2c 4e 75 6d 74 6f 53 | 74 72 28 6c 69 6e 65 6c |',NumtoS|tr(linel|
|00003c40| 65 6e 29 29 3b 0d 09 20 | 20 20 20 20 20 53 65 74 |en));.. | Set|
|00003c50| 41 47 6c 6f 62 61 6c 28 | 27 6c 74 68 69 73 75 73 |AGlobal(|'lthisus|
|00003c60| 65 72 5f 70 61 67 65 6c | 65 6e 27 2c 4e 75 6d 74 |er_pagel|en',Numt|
|00003c70| 6f 53 74 72 28 70 61 67 | 65 6c 65 6e 29 29 3b 0d |oStr(pag|elen));.|
|00003c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 65 | | te|
|00003c90| 6d 70 73 74 72 20 3a 3d | 20 27 27 3b 0d 09 20 20 |mpstr :=| '';.. |
|00003ca0| 20 20 20 20 66 6f 72 20 | 74 64 65 66 6c 74 73 20 | for |tdeflts |
|00003cb0| 3a 3d 20 73 70 63 73 72 | 20 74 6f 20 70 61 75 73 |:= spcsr| to paus|
|00003cc0| 65 20 64 6f 0d 09 20 20 | 20 20 20 20 62 65 67 69 |e do.. | begi|
|00003cd0| 6e 0d 09 20 20 20 20 20 | 20 20 20 20 74 73 74 72 |n.. | tstr|
|00003ce0| 20 3a 3d 20 27 27 3b 0d | 09 20 20 20 20 20 20 20 | := '';.|. |
|00003cf0| 20 20 69 66 20 74 64 65 | 66 6c 74 73 20 69 6e 20 | if tde|flts in |
|00003d00| 64 65 66 61 75 6c 74 73 | 20 74 68 65 6e 0d 09 20 |defaults| then.. |
|00003d10| 20 20 20 20 20 20 20 20 | 20 20 20 63 61 73 65 20 | | case |
|00003d20| 74 64 65 66 6c 74 73 20 | 6f 66 0d 09 20 20 20 20 |tdeflts |of.. |
|00003d30| 20 20 20 20 20 20 20 20 | 73 70 63 73 72 20 3a 20 | |spcsr : |
|00003d40| 74 73 74 72 20 3a 3d 20 | 27 53 70 69 6e 6e 69 6e |tstr := |'Spinnin|
|00003d50| 67 2d 63 75 72 73 6f 72 | 27 3b 0d 09 20 20 20 20 |g-cursor|';.. |
|00003d60| 20 20 20 20 20 20 20 20 | 6f 6e 65 6b 65 79 20 3a | |onekey :|
|00003d70| 20 74 73 74 72 20 3a 3d | 20 27 4f 6e 65 2d 4b 65 | tstr :=| 'One-Ke|
|00003d80| 79 27 3b 0d 09 09 20 20 | 20 20 77 6f 72 64 77 72 |y';... | wordwr|
|00003d90| 61 70 20 3a 20 74 73 74 | 72 20 3a 3d 20 27 57 6f |ap : tst|r := 'Wo|
|00003da0| 72 64 2d 77 72 61 70 27 | 3b 0d 09 09 20 20 20 20 |rd-wrap'|;... |
|00003db0| 70 61 75 73 65 20 3a 20 | 74 73 74 72 20 3a 3d 20 |pause : |tstr := |
|00003dc0| 27 50 61 75 73 65 27 3b | 0d 09 20 20 20 20 20 20 |'Pause';|.. |
|00003dd0| 20 20 20 20 20 20 65 6e | 64 3b 20 7b 20 63 61 73 | en|d; { cas|
|00003de0| 65 73 20 7d 0d 09 20 20 | 20 20 20 20 20 20 20 69 |es }.. | i|
|00003df0| 66 20 74 73 74 72 20 3c | 3e 20 27 27 20 74 68 65 |f tstr <|> '' the|
|00003e00| 6e 20 0d 09 09 20 62 65 | 67 69 6e 0d 09 09 20 20 |n ... be|gin... |
|00003e10| 20 20 69 66 20 74 65 6d | 70 73 74 72 20 3d 20 27 | if tem|pstr = '|
|00003e20| 27 20 74 68 65 6e 20 74 | 65 6d 70 73 74 72 20 3a |' then t|empstr :|
|00003e30| 3d 20 74 73 74 72 0d 09 | 09 20 20 20 20 20 20 20 |= tstr..|. |
|00003e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 6c 73 | | els|
|00003e50| 65 20 74 65 6d 70 73 74 | 72 20 3a 3d 20 63 6f 6e |e tempst|r := con|
|00003e60| 63 61 74 28 74 65 6d 70 | 73 74 72 2c 27 2c 27 2c |cat(temp|str,',',|
|00003e70| 74 73 74 72 29 3b 0d 09 | 09 20 65 6e 64 3b 0d 09 |tstr);..|. end;..|
|00003e80| 20 20 20 20 20 20 65 6e | 64 3b 0d 20 20 20 20 20 | en|d;. |
|00003e90| 20 20 20 20 20 20 20 20 | 20 53 65 74 41 47 6c 6f | | SetAGlo|
|00003ea0| 62 61 6c 28 27 6c 74 68 | 69 73 75 73 65 72 5f 64 |bal('lth|isuser_d|
|00003eb0| 65 66 61 75 6c 74 73 27 | 2c 74 65 6d 70 73 74 72 |efaults'|,tempstr|
|00003ec0| 29 3b 0d 09 20 20 20 20 | 20 20 53 65 74 41 47 6c |);.. | SetAGl|
|00003ed0| 6f 62 61 6c 28 27 6c 74 | 68 69 73 75 73 65 72 5f |obal('lt|hisuser_|
|00003ee0| 6f 6e 74 6f 64 61 79 27 | 2c 4e 75 6d 74 6f 53 74 |ontoday'|,NumtoSt|
|00003ef0| 72 28 6f 6e 74 6f 64 61 | 79 29 29 3b 0d 09 20 20 |r(ontoda|y));.. |
|00003f00| 20 20 20 20 53 65 74 41 | 47 6c 6f 62 61 6c 28 27 | SetA|Global('|
|00003f10| 6c 74 68 69 73 75 73 65 | 72 5f 69 6c 6c 65 67 61 |lthisuse|r_illega|
|00003f20| 6c 27 2c 4e 75 6d 74 6f | 53 74 72 28 69 6c 6c 65 |l',Numto|Str(ille|
|00003f30| 67 61 6c 29 29 3b 0d 20 | 20 20 20 20 20 20 20 20 |gal));. | |
|00003f40| 20 20 20 20 20 53 65 74 | 41 47 6c 6f 62 61 6c 28 | Set|AGlobal(|
|00003f50| 27 6c 74 68 69 73 75 73 | 65 72 5f 63 75 72 73 6f |'lthisus|er_curso|
|00003f60| 72 27 2c 63 75 72 73 6f | 72 29 3b 0d 09 20 20 20 |r',curso|r);.. |
|00003f70| 20 20 20 53 65 74 41 47 | 6c 6f 62 61 6c 28 27 6c | SetAG|lobal('l|
|00003f80| 74 68 69 73 75 73 65 72 | 5f 73 6c 27 2c 4e 75 6d |thisuser|_sl',Num|
|00003f90| 74 6f 53 74 72 28 73 6c | 29 29 3b 0d 20 20 20 20 |toStr(sl|));. |
|00003fa0| 20 20 20 20 20 20 20 20 | 20 20 74 65 6d 70 73 74 | | tempst|
|00003fb0| 72 20 3a 3d 20 27 27 3b | 0d 09 20 20 20 20 20 20 |r := '';|.. |
|00003fc0| 66 6f 72 20 74 72 65 73 | 74 72 69 63 74 69 6f 6e |for tres|triction|
|00003fd0| 73 20 3a 3d 20 72 6c 6f | 67 6f 6e 20 74 6f 20 72 |s := rlo|gon to r|
|00003fe0| 64 6c 20 64 6f 0d 09 20 | 20 20 20 20 20 62 65 67 |dl do.. | beg|
|00003ff0| 69 6e 0d 09 20 20 20 20 | 20 20 20 20 20 74 73 74 |in.. | tst|
|00004000| 72 20 3a 3d 20 27 27 3b | 0d 09 20 20 20 20 20 20 |r := '';|.. |
|00004010| 20 20 20 69 66 20 74 72 | 65 73 74 72 69 63 74 69 | if tr|estricti|
|00004020| 6f 6e 73 20 69 6e 20 61 | 63 20 74 68 65 6e 0d 09 |ons in a|c then..|
|00004030| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 61 73 65 | | case|
|00004040| 20 74 72 65 73 74 72 69 | 63 74 69 6f 6e 73 20 6f | trestri|ctions o|
|00004050| 66 0d 09 20 20 20 20 20 | 20 20 20 20 20 20 20 72 |f.. | r|
|00004060| 6c 6f 67 6f 6e 20 3a 20 | 74 73 74 72 20 3a 3d 20 |logon : |tstr := |
|00004070| 27 4c 6f 67 6f 6e 73 27 | 3b 0d 09 20 20 20 20 20 |'Logons'|;.. |
|00004080| 20 20 20 20 20 20 20 72 | 63 68 61 74 20 3a 20 74 | r|chat : t|
|00004090| 73 74 72 20 3a 3d 20 27 | 43 68 61 74 27 3b 0d 09 |str := '|Chat';..|
|000040a0| 09 20 20 20 20 72 76 61 | 6c 69 64 61 74 65 20 3a |. rva|lidate :|
|000040b0| 20 74 73 74 72 20 3a 3d | 20 27 56 61 6c 69 64 61 | tstr :=| 'Valida|
|000040c0| 74 65 64 27 3b 0d 09 09 | 20 20 20 20 72 62 61 63 |ted';...| rbac|
|000040d0| 6b 73 70 61 63 65 20 3a | 20 74 73 74 72 20 3a 3d |kspace :| tstr :=|
|000040e0| 20 27 42 61 63 6b 73 70 | 61 63 69 6e 67 27 3b 0d | 'Backsp|acing';.|
|000040f0| 09 09 20 20 20 20 72 61 | 6d 73 67 20 3a 20 74 73 |.. ra|msg : ts|
|00004100| 74 72 20 3a 3d 20 27 41 | 75 74 6f 4d 73 67 27 3b |tr := 'A|utoMsg';|
|00004110| 0d 09 09 20 20 20 20 72 | 70 6f 73 74 61 6e 20 3a |... r|postan :|
|00004120| 20 74 73 74 72 20 3a 3d | 20 27 50 6f 73 74 2d 61 | tstr :=| 'Post-a|
|00004130| 6e 6f 6e 27 3b 0d 09 09 | 20 20 20 20 72 70 6f 73 |non';...| rpos|
|00004140| 74 20 3a 20 74 73 74 72 | 20 3a 3d 20 27 50 6f 73 |t : tstr| := 'Pos|
|00004150| 74 27 3b 0d 09 09 20 20 | 20 20 72 65 6d 61 69 6c |t';... | remail|
|00004160| 20 3a 20 74 73 74 72 20 | 3a 3d 20 27 45 4d 61 69 | : tstr |:= 'EMai|
|00004170| 6c 27 3b 0d 09 09 20 20 | 20 20 72 76 6f 74 69 6e |l';... | rvotin|
|00004180| 67 20 3a 20 74 73 74 72 | 20 3a 3d 20 27 56 6f 74 |g : tstr| := 'Vot|
|00004190| 69 6e 67 27 3b 0d 09 09 | 20 20 20 20 72 6d 73 67 |ing';...| rmsg|
|000041a0| 20 3a 20 74 73 74 72 20 | 3a 3d 20 27 44 65 6c 65 | : tstr |:= 'Dele|
|000041b0| 74 65 2d 4d 73 67 73 27 | 3b 0d 09 09 20 20 20 20 |te-Msgs'|;... |
|000041c0| 72 64 6c 20 3a 20 74 73 | 74 72 20 3a 3d 20 27 44 |rdl : ts|tr := 'D|
|000041d0| 6f 77 6e 6c 6f 61 64 27 | 3b 0d 09 20 20 20 20 20 |ownload'|;.. |
|000041e0| 20 20 20 20 20 20 20 65 | 6e 64 3b 20 7b 20 63 61 | e|nd; { ca|
|000041f0| 73 65 73 20 7d 0d 09 20 | 20 20 20 20 20 20 20 20 |ses }.. | |
|00004200| 20 20 20 69 66 20 74 73 | 74 72 20 3c 3e 20 27 27 | if ts|tr <> ''|
|00004210| 20 74 68 65 6e 20 0d 09 | 09 20 20 20 20 62 65 67 | then ..|. beg|
|00004220| 69 6e 0d 09 09 20 20 20 | 20 20 20 20 69 66 20 74 |in... | if t|
|00004230| 65 6d 70 73 74 72 20 3d | 20 27 27 20 74 68 65 6e |empstr =| '' then|
|00004240| 20 74 65 6d 70 73 74 72 | 20 3a 3d 20 74 73 74 72 | tempstr| := tstr|
|00004250| 0d 09 09 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |... | |
|00004260| 20 20 20 20 20 20 20 20 | 20 20 65 6c 73 65 20 74 | | else t|
|00004270| 65 6d 70 73 74 72 20 3a | 3d 20 63 6f 6e 63 61 74 |empstr :|= concat|
|00004280| 28 74 65 6d 70 73 74 72 | 2c 27 2c 27 2c 74 73 74 |(tempstr|,',',tst|
|00004290| 72 29 3b 0d 09 09 20 20 | 20 20 65 6e 64 3b 0d 09 |r);... | end;..|
|000042a0| 20 20 20 20 20 20 65 6e | 64 3b 0d 20 20 20 20 20 | en|d;. |
|000042b0| 20 20 20 20 20 20 20 20 | 20 53 65 74 41 47 6c 6f | | SetAGlo|
|000042c0| 62 61 6c 28 27 6c 74 68 | 69 73 75 73 65 72 5f 61 |bal('lth|isuser_a|
|000042d0| 63 27 2c 74 65 6d 70 73 | 74 72 29 3b 0d 20 20 20 |c',temps|tr);. |
|000042e0| 20 20 20 20 20 20 20 20 | 20 20 20 74 65 6d 70 73 | | temps|
|000042f0| 74 72 20 3a 3d 20 27 27 | 3b 0d 09 20 20 20 20 20 |tr := ''|;.. |
|00004300| 20 66 6f 72 20 74 61 63 | 72 71 20 3a 3d 20 27 40 | for tac|rq := '@|
|00004310| 27 20 74 6f 20 27 47 27 | 20 64 6f 0d 09 20 20 20 |' to 'G'| do.. |
|00004320| 20 20 20 62 65 67 69 6e | 0d 09 20 20 20 20 20 20 | begin|.. |
|00004330| 20 20 20 74 73 74 72 20 | 3a 3d 20 27 27 3b 0d 09 | tstr |:= '';..|
|00004340| 20 20 20 20 20 20 20 20 | 20 69 66 20 74 61 63 72 | | if tacr|
|00004350| 71 20 69 6e 20 61 72 20 | 74 68 65 6e 20 0d 09 20 |q in ar |then .. |
|00004360| 20 20 20 20 20 20 20 20 | 62 65 67 69 6e 0d 09 20 | |begin.. |
|00004370| 20 20 20 20 20 20 20 20 | 20 20 20 74 73 74 72 20 | | tstr |
|00004380| 3a 3d 20 27 20 27 3b 20 | 74 73 74 72 5b 31 5d 20 |:= ' '; |tstr[1] |
|00004390| 3a 3d 20 74 61 63 72 71 | 3b 0d 20 20 20 20 20 20 |:= tacrq|;. |
|000043a0| 20 20 20 20 20 20 20 20 | 20 20 20 65 6e 64 3b 0d | | end;.|
|000043b0| 09 20 20 20 20 20 20 20 | 20 20 69 66 20 74 73 74 |. | if tst|
|000043c0| 72 20 3c 3e 20 27 27 20 | 74 68 65 6e 20 0d 09 09 |r <> '' |then ...|
|000043d0| 20 62 65 67 69 6e 0d 09 | 09 20 20 20 20 69 66 20 | begin..|. if |
|000043e0| 74 65 6d 70 73 74 72 20 | 3d 20 27 27 20 74 68 65 |tempstr |= '' the|
|000043f0| 6e 20 74 65 6d 70 73 74 | 72 20 3a 3d 20 74 73 74 |n tempst|r := tst|
|00004400| 72 0d 09 09 20 20 20 20 | 20 20 20 20 20 20 20 20 |r... | |
|00004410| 20 20 20 20 20 20 20 20 | 65 6c 73 65 20 74 65 6d | |else tem|
|00004420| 70 73 74 72 20 3a 3d 20 | 63 6f 6e 63 61 74 28 74 |pstr := |concat(t|
|00004430| 65 6d 70 73 74 72 2c 27 | 2c 27 2c 74 73 74 72 29 |empstr,'|,',tstr)|
|00004440| 3b 0d 09 09 20 65 6e 64 | 3b 0d 09 20 20 20 20 20 |;... end|;.. |
|00004450| 20 65 6e 64 3b 0d 20 20 | 20 20 20 20 20 20 20 20 | end;. | |
|00004460| 20 20 20 20 53 65 74 41 | 47 6c 6f 62 61 6c 28 27 | SetA|Global('|
|00004470| 6c 74 68 69 73 75 73 65 | 72 5f 61 72 27 2c 74 65 |lthisuse|r_ar',te|
|00004480| 6d 70 73 74 72 29 3b 0d | 20 20 20 20 20 20 20 20 |mpstr);.| |
|00004490| 20 20 20 20 20 20 74 65 | 6d 70 73 74 72 20 3a 3d | te|mpstr :=|
|000044a0| 20 27 27 3b 0d 09 20 20 | 20 20 20 20 66 6f 72 20 | '';.. | for |
|000044b0| 74 65 6d 70 69 6e 74 20 | 3a 3d 20 31 20 74 6f 20 |tempint |:= 1 to |
|000044c0| 31 39 20 64 6f 0d 09 20 | 20 20 20 20 20 77 69 74 |19 do.. | wit|
|000044d0| 68 20 71 73 63 61 6e 5b | 74 65 6d 70 69 6e 74 5d |h qscan[|tempint]|
|000044e0| 20 64 6f 0d 09 20 20 20 | 20 20 20 62 65 67 69 6e | do.. | begin|
|000044f0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004500| 20 20 74 73 74 72 20 3a | 3d 20 27 20 27 3b 20 74 | tstr :|= ' '; t|
|00004510| 73 74 72 5b 31 5d 20 3a | 3d 20 6c 74 72 3b 0d 09 |str[1] :|= ltr;..|
|00004520| 09 20 69 66 20 74 65 6d | 70 73 74 72 20 3d 20 27 |. if tem|pstr = '|
|00004530| 27 20 74 68 65 6e 20 74 | 65 6d 70 73 74 72 20 3a |' then t|empstr :|
|00004540| 3d 20 74 73 74 72 0d 09 | 09 20 20 20 20 20 20 20 |= tstr..|. |
|00004550| 20 20 20 20 20 20 20 20 | 20 20 65 6c 73 65 20 74 | | else t|
|00004560| 65 6d 70 73 74 72 20 3a | 3d 20 63 6f 6e 63 61 74 |empstr :|= concat|
|00004570| 28 74 65 6d 70 73 74 72 | 2c 27 2c 27 2c 74 73 74 |(tempstr|,',',tst|
|00004580| 72 29 3b 0d 09 20 20 20 | 20 20 20 65 6e 64 3b 0d |r);.. | end;.|
|00004590| 09 20 20 20 20 20 20 53 | 65 74 41 47 6c 6f 62 61 |. S|etAGloba|
|000045a0| 6c 28 27 6c 74 68 69 73 | 75 73 65 72 5f 71 73 63 |l('lthis|user_qsc|
|000045b0| 61 6e 5f 6c 74 72 27 2c | 74 65 6d 70 73 74 72 29 |an_ltr',|tempstr)|
|000045c0| 3b 0d 09 20 20 20 20 20 | 20 74 65 6d 70 73 74 72 |;.. | tempstr|
|000045d0| 20 3a 3d 20 27 27 3b 0d | 20 20 20 20 20 20 20 20 | := '';.| |
|000045e0| 20 20 20 20 20 20 66 6f | 72 20 74 65 6d 70 69 6e | fo|r tempin|
|000045f0| 74 20 3a 3d 20 31 20 74 | 6f 20 31 39 20 64 6f 0d |t := 1 t|o 19 do.|
|00004600| 09 20 20 20 20 20 20 77 | 69 74 68 20 71 73 63 61 |. w|ith qsca|
|00004610| 6e 5b 74 65 6d 70 69 6e | 74 5d 20 64 6f 0d 09 20 |n[tempin|t] do.. |
|00004620| 20 20 20 20 20 62 65 67 | 69 6e 0d 09 20 20 20 20 | beg|in.. |
|00004630| 20 20 20 20 20 74 73 74 | 72 20 3a 3d 20 4e 75 6d | tst|r := Num|
|00004640| 74 6f 53 74 72 28 6e 75 | 6d 62 65 72 29 3b 0d 09 |toStr(nu|mber);..|
|00004650| 09 20 69 66 20 74 65 6d | 70 73 74 72 20 3d 20 27 |. if tem|pstr = '|
|00004660| 27 20 74 68 65 6e 20 74 | 65 6d 70 73 74 72 20 3a |' then t|empstr :|
|00004670| 3d 20 74 73 74 72 0d 09 | 09 20 20 20 20 20 20 20 |= tstr..|. |
|00004680| 20 20 20 20 20 20 20 20 | 20 20 65 6c 73 65 20 74 | | else t|
|00004690| 65 6d 70 73 74 72 20 3a | 3d 20 63 6f 6e 63 61 74 |empstr :|= concat|
|000046a0| 28 74 65 6d 70 73 74 72 | 2c 27 2c 27 2c 74 73 74 |(tempstr|,',',tst|
|000046b0| 72 29 3b 0d 09 20 20 20 | 20 20 20 65 6e 64 3b 0d |r);.. | end;.|
|000046c0| 09 20 20 20 20 20 20 53 | 65 74 41 47 6c 6f 62 61 |. S|etAGloba|
|000046d0| 6c 28 27 6c 74 68 69 73 | 75 73 65 72 5f 71 73 63 |l('lthis|user_qsc|
|000046e0| 61 6e 5f 6e 75 6d 62 65 | 72 27 2c 74 65 6d 70 73 |an_numbe|r',temps|
|000046f0| 74 72 29 3b 0d 09 20 20 | 20 20 20 20 74 65 6d 70 |tr);.. | temp|
|00004700| 73 74 72 20 3a 3d 20 27 | 27 3b 0d 20 20 20 20 20 |str := '|';. |
|00004710| 20 20 20 20 20 20 20 20 | 20 66 6f 72 20 74 65 6d | | for tem|
|00004720| 70 69 6e 74 20 3a 3d 20 | 31 20 74 6f 20 31 39 20 |pint := |1 to 19 |
|00004730| 64 6f 0d 09 20 20 20 20 | 20 20 77 69 74 68 20 71 |do.. | with q|
|00004740| 73 63 61 6e 5b 74 65 6d | 70 69 6e 74 5d 20 64 6f |scan[tem|pint] do|
|00004750| 0d 09 20 20 20 20 20 20 | 62 65 67 69 6e 0d 09 20 |.. |begin.. |
|00004760| 20 20 20 20 20 20 20 20 | 74 73 74 72 20 3a 3d 20 | |tstr := |
|00004770| 4e 75 6d 54 6f 53 74 72 | 28 65 78 74 29 3b 0d 09 |NumToStr|(ext);..|
|00004780| 09 20 69 66 20 74 65 6d | 70 73 74 72 20 3d 20 27 |. if tem|pstr = '|
|00004790| 27 20 74 68 65 6e 20 74 | 65 6d 70 73 74 72 20 3a |' then t|empstr :|
|000047a0| 3d 20 74 73 74 72 0d 09 | 09 20 20 20 20 20 20 20 |= tstr..|. |
|000047b0| 20 20 20 20 20 20 20 20 | 20 20 65 6c 73 65 20 74 | | else t|
|000047c0| 65 6d 70 73 74 72 20 3a | 3d 20 63 6f 6e 63 61 74 |empstr :|= concat|
|000047d0| 28 74 65 6d 70 73 74 72 | 2c 27 2c 27 2c 74 73 74 |(tempstr|,',',tst|
|000047e0| 72 29 3b 0d 09 20 20 20 | 20 20 20 65 6e 64 3b 0d |r);.. | end;.|
|000047f0| 09 20 20 20 20 20 20 53 | 65 74 41 47 6c 6f 62 61 |. S|etAGloba|
|00004800| 6c 28 27 6c 74 68 69 73 | 75 73 65 72 5f 71 73 63 |l('lthis|user_qsc|
|00004810| 61 6e 5f 65 78 74 27 2c | 74 65 6d 70 73 74 72 29 |an_ext',|tempstr)|
|00004820| 3b 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00004830| 74 65 6d 70 73 74 72 20 | 3a 3d 20 27 27 3b 0d 09 |tempstr |:= '';..|
|00004840| 20 20 20 20 20 20 66 6f | 72 20 74 65 6d 70 69 6e | fo|r tempin|
|00004850| 74 20 3a 3d 20 31 20 74 | 6f 20 31 39 20 64 6f 0d |t := 1 t|o 19 do.|
|00004860| 09 09 20 69 66 20 74 65 | 6d 70 73 74 72 20 3d 20 |.. if te|mpstr = |
|00004870| 27 27 20 74 68 65 6e 20 | 74 65 6d 70 73 74 72 20 |'' then |tempstr |
|00004880| 3a 3d 20 42 6f 6f 6c 74 | 6f 53 74 72 28 71 73 63 |:= Boolt|oStr(qsc|
|00004890| 6e 5b 74 65 6d 70 69 6e | 74 5d 29 0d 09 20 20 20 |n[tempin|t]).. |
|000048a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000048b0| 20 20 20 20 20 20 65 6c | 73 65 20 74 65 6d 70 73 | el|se temps|
|000048c0| 74 72 20 3a 3d 20 63 6f | 6e 63 61 74 28 74 65 6d |tr := co|ncat(tem|
|000048d0| 70 73 74 72 2c 27 2c 27 | 2c 42 6f 6f 6c 74 6f 53 |pstr,','|,BooltoS|
|000048e0| 74 72 28 71 73 63 6e 5b | 74 65 6d 70 69 6e 74 5d |tr(qscn[|tempint]|
|000048f0| 29 29 3b 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |));. | |
|00004900| 20 20 53 65 74 41 47 6c | 6f 62 61 6c 28 27 6c 74 | SetAGl|obal('lt|
|00004910| 68 69 73 75 73 65 72 5f | 71 73 63 6e 27 2c 74 65 |hisuser_|qscn',te|
|00004920| 6d 70 73 74 72 29 3b 0d | 20 20 20 20 20 20 20 20 |mpstr);.| |
|00004930| 20 20 20 20 20 20 53 65 | 74 41 47 6c 6f 62 61 6c | Se|tAGlobal|
|00004940| 28 27 6c 74 68 69 73 75 | 73 65 72 5f 6d 61 63 72 |('lthisu|ser_macr|
|00004950| 6f 31 27 2c 6d 61 63 72 | 6f 5b 31 5d 29 3b 0d 20 |o1',macr|o[1]);. |
|00004960| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 53 65 74 | | Set|
|00004970| 41 47 6c 6f 62 61 6c 28 | 27 6c 74 68 69 73 75 73 |AGlobal(|'lthisus|
|00004980| 65 72 5f 6d 61 63 72 6f | 32 27 2c 6d 61 63 72 6f |er_macro|2',macro|
|00004990| 5b 32 5d 29 3b 0d 09 20 | 20 20 20 20 20 53 65 74 |[2]);.. | Set|
|000049a0| 41 47 6c 6f 62 61 6c 28 | 27 6c 74 68 69 73 75 73 |AGlobal(|'lthisus|
|000049b0| 65 72 5f 63 6f 6d 70 74 | 79 70 65 27 2c 4e 75 6d |er_compt|ype',Num|
|000049c0| 74 6f 53 74 72 28 63 6f | 6d 70 74 79 70 65 29 29 |toStr(co|mptype))|
|000049d0| 3b 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|000049e0| 74 65 6d 70 73 74 72 20 | 3a 3d 20 27 27 3b 0d 09 |tempstr |:= '';..|
|000049f0| 20 20 20 20 20 20 66 6f | 72 20 74 6f 70 74 73 20 | fo|r topts |
|00004a00| 3a 3d 20 6d 79 61 6c 65 | 72 74 20 74 6f 20 6e 6f |:= myale|rt to no|
|00004a10| 6d 61 69 6c 20 64 6f 0d | 09 20 20 20 20 20 20 62 |mail do.|. b|
|00004a20| 65 67 69 6e 0d 09 20 20 | 20 20 20 20 20 20 20 74 |egin.. | t|
|00004a30| 73 74 72 20 3a 3d 20 27 | 27 3b 0d 09 20 20 20 20 |str := '|';.. |
|00004a40| 20 20 20 20 20 69 66 20 | 74 6f 70 74 73 20 69 6e | if |topts in|
|00004a50| 20 6f 70 74 69 6f 6e 20 | 74 68 65 6e 0d 09 20 20 | option |then.. |
|00004a60| 20 20 20 20 20 20 20 20 | 20 20 63 61 73 65 20 74 | | case t|
|00004a70| 6f 70 74 73 20 6f 66 0d | 09 20 20 20 20 20 20 20 |opts of.|. |
|00004a80| 20 20 20 20 20 6d 79 61 | 6c 65 72 74 20 3a 20 74 | mya|lert : t|
|00004a90| 73 74 72 20 3a 3d 20 27 | 41 6c 65 72 74 27 3b 0d |str := '|Alert';.|
|00004aa0| 09 20 20 20 20 20 20 20 | 20 20 20 20 20 73 6d 77 |. | smw|
|00004ab0| 20 3a 20 74 73 74 72 20 | 3a 3d 20 27 53 6d 61 6c | : tstr |:= 'Smal|
|00004ac0| 6c 2d 6d 73 67 2d 77 61 | 69 74 69 6e 67 27 3b 0d |l-msg-wa|iting';.|
|00004ad0| 09 09 20 20 20 20 6e 6f | 6d 61 69 6c 20 3a 20 74 |.. no|mail : t|
|00004ae0| 73 74 72 20 3a 3d 20 27 | 4e 6f 2d 45 4d 61 69 6c |str := '|No-EMail|
|00004af0| 27 3b 0d 09 20 20 20 20 | 20 20 20 20 20 20 20 20 |';.. | |
|00004b00| 65 6e 64 3b 20 7b 20 63 | 61 73 65 73 20 7d 0d 09 |end; { c|ases }..|
|00004b10| 20 20 20 20 20 20 20 20 | 20 69 66 20 74 73 74 72 | | if tstr|
|00004b20| 20 3c 3e 20 27 27 20 74 | 68 65 6e 20 0d 09 09 20 | <> '' t|hen ... |
|00004b30| 62 65 67 69 6e 0d 09 09 | 20 20 20 20 69 66 20 74 |begin...| if t|
|00004b40| 65 6d 70 73 74 72 20 3d | 20 27 27 20 74 68 65 6e |empstr =| '' then|
|00004b50| 20 74 65 6d 70 73 74 72 | 20 3a 3d 20 74 73 74 72 | tempstr| := tstr|
|00004b60| 0d 09 09 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |... | |
|00004b70| 20 20 20 20 20 20 20 65 | 6c 73 65 20 74 65 6d 70 | e|lse temp|
|00004b80| 73 74 72 20 3a 3d 20 63 | 6f 6e 63 61 74 28 74 65 |str := c|oncat(te|
|00004b90| 6d 70 73 74 72 2c 27 2c | 27 2c 74 73 74 72 29 3b |mpstr,',|',tstr);|
|00004ba0| 0d 09 09 20 65 6e 64 3b | 0d 09 20 20 20 20 20 20 |... end;|.. |
|00004bb0| 65 6e 64 3b 0d 20 20 20 | 20 20 20 20 20 20 20 20 |end;. | |
|00004bc0| 20 20 20 53 65 74 41 47 | 6c 6f 62 61 6c 28 27 6c | SetAG|lobal('l|
|00004bd0| 74 68 69 73 75 73 65 72 | 5f 6f 70 74 69 6f 6e 27 |thisuser|_option'|
|00004be0| 2c 74 65 6d 70 73 74 72 | 29 3b 0d 20 20 20 20 20 |,tempstr|);. |
|00004bf0| 20 20 20 20 20 20 20 20 | 20 74 65 6d 70 73 74 72 | | tempstr|
|00004c00| 20 3a 3d 20 27 27 3b 0d | 09 20 20 20 20 20 20 66 | := '';.|. f|
|00004c10| 6f 72 20 74 65 6d 70 69 | 6e 74 20 3a 3d 20 31 20 |or tempi|nt := 1 |
|00004c20| 74 6f 20 39 20 64 6f 0d | 09 09 20 69 66 20 74 65 |to 9 do.|.. if te|
|00004c30| 6d 70 73 74 72 20 3d 20 | 27 27 20 74 68 65 6e 20 |mpstr = |'' then |
|00004c40| 74 65 6d 70 73 74 72 20 | 3a 3d 20 4e 75 6d 74 6f |tempstr |:= Numto|
|00004c50| 53 74 72 28 76 6f 74 65 | 5b 74 65 6d 70 69 6e 74 |Str(vote|[tempint|
|00004c60| 5d 29 0d 09 20 20 20 20 | 20 20 20 20 20 20 20 20 |]).. | |
|00004c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 6c 73 | | els|
|00004c80| 65 20 74 65 6d 70 73 74 | 72 20 3a 3d 20 63 6f 6e |e tempst|r := con|
|00004c90| 63 61 74 28 74 65 6d 70 | 73 74 72 2c 27 2c 27 2c |cat(temp|str,',',|
|00004ca0| 4e 75 6d 74 6f 53 74 72 | 28 76 6f 74 65 5b 74 65 |NumtoStr|(vote[te|
|00004cb0| 6d 70 69 6e 74 5d 29 29 | 3b 0d 20 20 20 20 20 20 |mpint]))|;. |
|00004cc0| 20 20 20 20 20 20 20 20 | 53 65 74 41 47 6c 6f 62 | |SetAGlob|
|00004cd0| 61 6c 28 27 6c 74 68 69 | 73 75 73 65 72 5f 76 6f |al('lthi|suser_vo|
|00004ce0| 74 65 27 2c 74 65 6d 70 | 73 74 72 29 3b 0d 09 20 |te',temp|str);.. |
|00004cf0| 20 20 20 20 20 53 65 74 | 41 47 6c 6f 62 61 6c 28 | Set|AGlobal(|
|00004d00| 27 6c 74 68 69 73 75 73 | 65 72 5f 73 62 6e 27 2c |'lthisus|er_sbn',|
|00004d10| 4e 75 6d 74 6f 53 74 72 | 28 73 62 6e 29 29 3b 0d |NumtoStr|(sbn));.|
|00004d20| 09 20 20 20 20 20 20 53 | 65 74 41 47 6c 6f 62 61 |. S|etAGloba|
|00004d30| 6c 28 27 6c 74 68 69 73 | 75 73 65 72 5f 64 73 6c |l('lthis|user_dsl|
|00004d40| 27 2c 4e 75 6d 74 6f 53 | 74 72 28 64 73 6c 29 29 |',NumtoS|tr(dsl))|
|00004d50| 3b 0d 09 20 20 20 20 20 | 20 53 65 74 41 47 6c 6f |;.. | SetAGlo|
|00004d60| 62 61 6c 28 27 6c 74 68 | 69 73 75 73 65 72 5f 75 |bal('lth|isuser_u|
|00004d70| 70 6c 6f 61 64 73 27 2c | 4e 75 6d 74 6f 53 74 72 |ploads',|NumtoStr|
|00004d80| 28 75 70 6c 6f 61 64 73 | 29 29 3b 0d 09 20 20 20 |(uploads|));.. |
|00004d90| 20 20 20 53 65 74 41 47 | 6c 6f 62 61 6c 28 27 6c | SetAG|lobal('l|
|00004da0| 74 68 69 73 75 73 65 72 | 5f 64 6f 77 6e 6c 6f 61 |thisuser|_downloa|
|00004db0| 64 73 27 2c 4e 75 6d 74 | 6f 53 74 72 28 64 6f 77 |ds',Numt|oStr(dow|
|00004dc0| 6e 6c 6f 61 64 73 29 29 | 3b 0d 09 20 20 20 20 20 |nloads))|;.. |
|00004dd0| 20 53 65 74 41 47 6c 6f | 62 61 6c 28 27 6c 74 68 | SetAGlo|bal('lth|
|00004de0| 69 73 75 73 65 72 5f 75 | 6b 27 2c 4e 75 6d 74 6f |isuser_u|k',Numto|
|00004df0| 53 74 72 28 75 6b 29 29 | 3b 0d 09 20 20 20 20 20 |Str(uk))|;.. |
|00004e00| 20 53 65 74 41 47 6c 6f | 62 61 6c 28 27 6c 74 68 | SetAGlo|bal('lth|
|00004e10| 69 73 75 73 65 72 5f 64 | 6b 27 2c 4e 75 6d 74 6f |isuser_d|k',Numto|
|00004e20| 53 74 72 28 64 6b 29 29 | 3b 0d 20 20 20 20 20 20 |Str(dk))|;. |
|00004e30| 20 20 20 20 20 65 6e 64 | 3b 0d 09 20 20 20 53 65 | end|;.. Se|
|00004e40| 74 41 47 6c 6f 62 61 6c | 28 27 6c 72 65 61 6c 73 |tAGlobal|('lreals|
|00004e50| 6c 27 2c 4e 75 6d 74 6f | 53 74 72 28 6c 72 65 61 |l',Numto|Str(lrea|
|00004e60| 6c 73 6c 29 29 3b 0d 09 | 20 20 20 53 65 74 41 47 |lsl));..| SetAG|
|00004e70| 6c 6f 62 61 6c 28 27 6c | 74 69 6d 65 6f 6e 27 2c |lobal('l|timeon',|
|00004e80| 4e 75 6d 74 6f 53 74 72 | 28 74 72 75 6e 63 28 6c |NumtoStr|(trunc(l|
|00004e90| 74 69 6d 65 6f 6e 29 29 | 29 3b 0d 09 20 20 20 53 |timeon))|);.. S|
|00004ea0| 65 74 41 47 6c 6f 62 61 | 6c 28 27 6c 74 74 69 6d |etAGloba|l('lttim|
|00004eb0| 65 27 2c 4e 75 6d 74 6f | 53 74 72 28 74 72 75 6e |e',Numto|Str(trun|
|00004ec0| 63 28 6c 74 74 69 6d 65 | 29 29 29 3b 0d 09 20 20 |c(lttime|)));.. |
|00004ed0| 20 53 65 74 41 47 6c 6f | 62 61 6c 28 27 6c 65 78 | SetAGlo|bal('lex|
|00004ee0| 74 72 61 74 69 6d 65 27 | 2c 4e 75 6d 74 6f 53 74 |tratime'|,NumtoSt|
|00004ef0| 72 28 74 72 75 6e 63 28 | 6c 65 78 74 72 61 74 69 |r(trunc(|lextrati|
|00004f00| 6d 65 29 29 29 3b 0d 09 | 20 20 20 53 65 74 41 47 |me)));..| SetAG|
|00004f10| 6c 6f 62 61 6c 28 27 6c | 63 68 61 74 74 69 6d 65 |lobal('l|chattime|
|00004f20| 27 2c 4e 75 6d 74 6f 53 | 74 72 28 74 72 75 6e 63 |',NumtoS|tr(trunc|
|00004f30| 28 6c 63 68 61 74 74 69 | 6d 65 29 29 29 3b 0d 09 |(lchatti|me)));..|
|00004f40| 20 20 20 77 69 74 68 20 | 6c 73 79 73 74 61 74 20 | with |lsystat |
|00004f50| 64 6f 0d 20 20 20 20 20 | 20 20 20 20 20 20 62 65 |do. | be|
|00004f60| 67 69 6e 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |gin. | |
|00004f70| 20 20 7b 20 6d 61 79 62 | 65 20 6e 6f 74 20 72 65 | { mayb|e not re|
|00004f80| 74 75 72 6e 20 6e 65 78 | 74 20 32 20 76 61 6c 75 |turn nex|t 2 valu|
|00004f90| 65 73 20 73 6f 20 73 65 | 63 75 72 69 74 79 20 69 |es so se|curity i|
|00004fa0| 73 6e 27 74 20 63 6f 6d | 70 72 6f 6d 69 73 65 64 |sn't com|promised|
|00004fb0| 20 7d 0d 09 20 20 20 20 | 20 20 53 65 74 41 47 6c | }.. | SetAGl|
|00004fc0| 6f 62 61 6c 28 27 6c 73 | 79 73 74 61 74 5f 62 6f |obal('ls|ystat_bo|
|00004fd0| 61 72 64 70 77 27 2c 62 | 6f 61 72 64 70 77 29 3b |ardpw',b|oardpw);|
|00004fe0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 53 |. | S|
|00004ff0| 65 74 41 47 6c 6f 62 61 | 6c 28 27 6c 73 79 73 74 |etAGloba|l('lsyst|
|00005000| 61 74 5f 73 79 73 6f 70 | 70 77 27 2c 73 79 73 6f |at_sysop|pw',syso|
|00005010| 70 70 77 29 3b 0d 20 20 | 20 20 20 20 20 20 20 20 |ppw);. | |
|00005020| 20 20 20 20 77 69 74 68 | 20 68 6d 73 67 20 64 6f | with| hmsg do|
|00005030| 0d 09 20 20 20 20 20 20 | 62 65 67 69 6e 0d 20 20 |.. |begin. |
|00005040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|00005050| 65 6d 70 73 74 72 20 3a | 3d 20 27 20 27 3b 20 74 |empstr :|= ' '; t|
|00005060| 65 6d 70 73 74 72 5b 31 | 5d 20 3a 3d 20 6c 74 72 |empstr[1|] := ltr|
|00005070| 3b 0d 09 20 20 20 20 20 | 20 20 20 20 53 65 74 41 |;.. | SetA|
|00005080| 47 6c 6f 62 61 6c 28 27 | 6c 73 79 73 74 61 74 5f |Global('|lsystat_|
|00005090| 68 6d 73 67 5f 6c 74 72 | 27 2c 74 65 6d 70 73 74 |hmsg_ltr|',tempst|
|000050a0| 72 29 3b 0d 09 20 20 20 | 20 20 20 20 20 20 53 65 |r);.. | Se|
|000050b0| 74 41 47 6c 6f 62 61 6c | 28 27 6c 73 79 73 74 61 |tAGlobal|('lsysta|
|000050c0| 74 5f 68 6d 73 67 5f 6e | 75 6d 62 65 72 27 2c 4e |t_hmsg_n|umber',N|
|000050d0| 75 6d 74 6f 53 74 72 28 | 6e 75 6d 62 65 72 29 29 |umtoStr(|number))|
|000050e0| 3b 0d 09 20 20 20 20 20 | 20 20 20 20 53 65 74 41 |;.. | SetA|
|000050f0| 47 6c 6f 62 61 6c 28 27 | 6c 73 79 73 74 61 74 5f |Global('|lsystat_|
|00005100| 68 6d 73 67 5f 65 78 74 | 27 2c 4e 75 6d 74 6f 53 |hmsg_ext|',NumtoS|
|00005110| 74 72 28 65 78 74 29 29 | 3b 0d 09 20 20 20 20 20 |tr(ext))|;.. |
|00005120| 20 65 6e 64 3b 0d 09 20 | 20 20 20 20 20 53 65 74 | end;.. | Set|
|00005130| 41 47 6c 6f 62 61 6c 28 | 27 6c 73 79 73 74 61 74 |AGlobal(|'lsystat|
|00005140| 5f 75 73 65 72 73 27 2c | 4e 75 6d 74 6f 53 74 72 |_users',|NumtoStr|
|00005150| 28 75 73 65 72 73 29 29 | 3b 0d 09 20 20 20 20 20 |(users))|;.. |
|00005160| 20 53 65 74 41 47 6c 6f | 62 61 6c 28 27 6c 73 79 | SetAGlo|bal('lsy|
|00005170| 73 74 61 74 5f 6c 61 73 | 74 64 61 74 65 27 2c 6c |stat_las|tdate',l|
|00005180| 61 73 74 64 61 74 65 29 | 3b 0d 09 20 20 20 20 20 |astdate)|;.. |
|00005190| 20 53 65 74 41 47 6c 6f | 62 61 6c 28 27 6c 73 79 | SetAGlo|bal('lsy|
|000051a0| 73 74 61 74 5f 63 61 6c | 6c 65 72 6e 75 6d 27 2c |stat_cal|lernum',|
|000051b0| 4e 75 6d 74 6f 53 74 72 | 28 63 61 6c 6c 65 72 6e |NumtoStr|(callern|
|000051c0| 75 6d 29 29 3b 0d 09 20 | 20 20 20 20 20 53 65 74 |um));.. | Set|
|000051d0| 41 47 6c 6f 62 61 6c 28 | 27 6c 73 79 73 74 61 74 |AGlobal(|'lsystat|
|000051e0| 5f 61 63 74 69 76 65 74 | 6f 64 61 79 27 2c 4e 75 |_activet|oday',Nu|
|000051f0| 6d 74 6f 53 74 72 28 61 | 63 74 69 76 65 74 6f 64 |mtoStr(a|ctivetod|
|00005200| 61 79 29 29 3b 0d 09 20 | 20 20 20 20 20 53 65 74 |ay));.. | Set|
|00005210| 41 47 6c 6f 62 61 6c 28 | 27 6c 73 79 73 74 61 74 |AGlobal(|'lsystat|
|00005220| 5f 63 61 6c 6c 73 74 6f | 64 61 79 27 2c 4e 75 6d |_callsto|day',Num|
|00005230| 74 6f 53 74 72 28 63 61 | 6c 6c 73 74 6f 64 61 79 |toStr(ca|llstoday|
|00005240| 29 29 3b 0d 09 20 20 20 | 20 20 20 53 65 74 41 47 |));.. | SetAG|
|00005250| 6c 6f 62 61 6c 28 27 6c | 73 79 73 74 61 74 5f 6d |lobal('l|systat_m|
|00005260| 73 67 70 6f 73 74 74 6f | 64 61 79 27 2c 4e 75 6d |sgpostto|day',Num|
|00005270| 74 6f 53 74 72 28 6d 73 | 67 70 6f 73 74 74 6f 64 |toStr(ms|gposttod|
|00005280| 61 79 29 29 3b 0d 09 20 | 20 20 20 20 20 53 65 74 |ay));.. | Set|
|00005290| 41 47 6c 6f 62 61 6c 28 | 27 6c 73 79 73 74 61 74 |AGlobal(|'lsystat|
|000052a0| 5f 65 6d 61 69 6c 74 6f | 64 61 79 27 2c 4e 75 6d |_emailto|day',Num|
|000052b0| 74 6f 53 74 72 28 65 6d | 61 69 6c 74 6f 64 61 79 |toStr(em|ailtoday|
|000052c0| 29 29 3b 0d 09 20 20 20 | 20 20 20 53 65 74 41 47 |));.. | SetAG|
|000052d0| 6c 6f 62 61 6c 28 27 6c | 73 79 73 74 61 74 5f 66 |lobal('l|systat_f|
|000052e0| 62 61 63 6b 74 6f 64 61 | 79 27 2c 4e 75 6d 74 6f |backtoda|y',Numto|
|000052f0| 53 74 72 28 66 62 61 63 | 6b 74 6f 64 61 79 29 29 |Str(fbac|ktoday))|
|00005300| 3b 0d 09 20 20 20 20 20 | 20 53 65 74 41 47 6c 6f |;.. | SetAGlo|
|00005310| 62 61 6c 28 27 6c 73 79 | 73 74 61 74 5f 75 70 74 |bal('lsy|stat_upt|
|00005320| 6f 64 61 79 27 2c 4e 75 | 6d 74 6f 53 74 72 28 75 |oday',Nu|mtoStr(u|
|00005330| 70 74 6f 64 61 79 29 29 | 3b 0d 09 20 20 20 20 20 |ptoday))|;.. |
|00005340| 20 53 65 74 41 47 6c 6f | 62 61 6c 28 27 6c 73 79 | SetAGlo|bal('lsy|
|00005350| 73 74 61 74 5f 63 6c 6f | 73 65 64 73 79 73 74 65 |stat_clo|sedsyste|
|00005360| 6d 27 2c 42 6f 6f 6c 74 | 6f 53 74 72 28 63 6c 6f |m',Boolt|oStr(clo|
|00005370| 73 65 64 73 79 73 74 65 | 6d 29 29 3b 0d 20 20 20 |sedsyste|m));. |
|00005380| 20 20 20 20 20 20 20 20 | 65 6e 64 3b 0d 09 20 20 | |end;.. |
|00005390| 20 53 65 74 41 47 6c 6f | 62 61 6c 28 27 6c 73 79 | SetAGlo|bal('lsy|
|000053a0| 73 6f 70 61 76 61 69 6c | 27 2c 42 6f 6f 6c 74 6f |sopavail|',Boolto|
|000053b0| 53 74 72 28 6c 73 79 73 | 6f 70 61 76 61 69 6c 29 |Str(lsys|opavail)|
|000053c0| 29 3b 0d 09 20 20 20 53 | 65 74 41 47 6c 6f 62 61 |);.. S|etAGloba|
|000053d0| 6c 28 27 6c 65 78 74 72 | 61 6d 73 67 73 27 2c 4e |l('lextr|amsgs',N|
|000053e0| 75 6d 74 6f 53 74 72 28 | 6c 65 78 74 72 61 6d 73 |umtoStr(|lextrams|
|000053f0| 67 73 29 29 3b 0d 09 20 | 20 20 53 65 74 41 47 6c |gs));.. | SetAGl|
|00005400| 6f 62 61 6c 28 27 6c 63 | 68 61 74 63 61 6c 6c 27 |obal('lc|hatcall'|
|00005410| 2c 42 6f 6f 6c 74 6f 53 | 74 72 28 6c 63 68 61 74 |,BooltoS|tr(lchat|
|00005420| 63 61 6c 6c 29 29 3b 0d | 20 20 20 20 20 20 20 20 |call));.| |
|00005430| 20 20 20 53 65 74 41 47 | 6c 6f 62 61 6c 28 27 6c | SetAG|lobal('l|
|00005440| 63 68 61 74 72 27 2c 6c | 63 68 61 74 72 29 3b 0d |chatr',l|chatr);.|
|00005450| 09 20 20 20 53 65 74 41 | 47 6c 6f 62 61 6c 28 27 |. SetA|Global('|
|00005460| 6c 65 78 70 65 72 74 27 | 2c 42 6f 6f 6c 74 6f 53 |lexpert'|,BooltoS|
|00005470| 74 72 28 6c 65 78 70 65 | 72 74 29 29 3b 0d 09 20 |tr(lexpe|rt));.. |
|00005480| 20 20 53 65 74 41 47 6c | 6f 62 61 6c 28 27 6c 66 | SetAGl|obal('lf|
|00005490| 74 6f 64 61 79 27 2c 4e | 75 6d 74 6f 53 74 72 28 |today',N|umtoStr(|
|000054a0| 6c 66 74 6f 64 61 79 29 | 29 3b 0d 09 20 20 20 53 |lftoday)|);.. S|
|000054b0| 65 74 41 47 6c 6f 62 61 | 6c 28 27 6c 65 74 6f 64 |etAGloba|l('letod|
|000054c0| 61 79 27 2c 4e 75 6d 74 | 6f 53 74 72 28 6c 65 74 |ay',Numt|oStr(let|
|000054d0| 6f 64 61 79 29 29 3b 0d | 09 20 20 20 53 65 74 41 |oday));.|. SetA|
|000054e0| 47 6c 6f 62 61 6c 28 27 | 6c 6d 72 65 61 64 27 2c |Global('|lmread',|
|000054f0| 4e 75 6d 74 6f 53 74 72 | 28 6c 6d 72 65 61 64 29 |NumtoStr|(lmread)|
|00005500| 29 3b 0d 09 20 20 20 53 | 65 74 41 47 6c 6f 62 61 |);.. S|etAGloba|
|00005510| 6c 28 27 6c 70 74 6f 64 | 61 79 27 2c 4e 75 6d 74 |l('lptod|ay',Numt|
|00005520| 6f 53 74 72 28 6c 70 74 | 6f 64 61 79 29 29 3b 0d |oStr(lpt|oday));.|
|00005530| 20 20 20 20 20 20 20 20 | 65 6e 64 3b 0d 20 20 20 | |end;. |
|00005540| 20 20 20 20 20 49 4f 45 | 72 72 6f 72 20 3a 3d 20 | IOE|rror := |
|00005550| 46 53 43 6c 6f 73 65 28 | 6c 61 75 6e 63 68 66 69 |FSClose(|launchfi|
|00005560| 6c 65 29 3b 0d 7b 24 49 | 46 43 20 44 65 62 75 67 |le);.{$I|FC Debug|
|00005570| 7d 0d 20 20 20 20 20 20 | 20 20 49 4f 45 72 72 6f |}. | IOErro|
|00005580| 72 20 3a 3d 20 46 53 43 | 6c 6f 73 65 28 64 65 62 |r := FSC|lose(deb|
|00005590| 75 67 66 69 6c 65 29 3b | 0d 7b 24 45 4e 44 43 7d |ugfile);|.{$ENDC}|
|000055a0| 0d 20 20 20 20 20 65 6e | 64 3b 0d 0d 20 20 65 6e |. en|d;.. en|
|000055b0| 64 3b 20 7b 20 67 65 74 | 6c 64 61 74 61 20 7d 0d |d; { get|ldata }.|
|000055c0| 20 20 20 20 20 0d 62 65 | 67 69 6e 20 7b 20 67 65 | .be|gin { ge|
|000055d0| 74 6c 61 75 6e 63 68 64 | 61 74 61 20 7d 0d 20 20 |tlaunchd|ata }. |
|000055e0| 20 53 65 74 41 47 6c 6f | 62 61 6c 28 27 63 6f 6d | SetAGlo|bal('com|
|000055f0| 70 74 79 70 27 2c 0d 20 | 20 20 20 20 27 31 32 38 |ptyp',. | '128|
|00005600| 2c 35 31 32 2c 35 31 32 | 65 2c 4d 61 63 2b 2c 50 |,512,512|e,Mac+,P|
|00005610| 72 6f 64 69 67 79 2c 4d | 61 63 2f 36 38 30 32 30 |rodigy,M|ac/68020|
|00005620| 2c 4d 61 63 2f 4d 6f 72 | 65 20 52 41 4d 2c 4d 61 |,Mac/Mor|e RAM,Ma|
|00005630| 63 2f 4c 72 67 20 53 63 | 72 6e 2c 4d 61 63 20 53 |c/Lrg Sc|rn,Mac S|
|00005640| 45 2c 4d 61 63 20 49 49 | 2c 4f 54 48 45 52 27 29 |E,Mac II|,OTHER')|
|00005650| 3b 0d 20 20 20 20 20 0d | 20 20 20 47 65 74 4c 44 |;. .| GetLD|
|00005660| 61 74 61 3b 0d 20 20 20 | 0d 20 20 20 69 66 20 67 |ata;. |. if g|
|00005670| 6f 74 4c 61 75 6e 63 68 | 20 74 68 65 6e 0d 20 20 |otLaunch| then. |
|00005680| 20 20 20 20 47 65 74 42 | 42 53 50 61 72 61 6d 73 | GetB|BSParams|
|00005690| 3b 0d 0d 20 20 20 52 61 | 6e 64 6f 6d 69 7a 65 3b |;.. Ra|ndomize;|
|000056a0| 20 7b 20 77 6f 72 6b 2d | 61 72 6f 75 6e 64 20 70 | { work-|around p|
|000056b0| 72 6f 62 6c 65 6d 20 77 | 69 74 68 20 48 79 70 65 |roblem w|ith Hype|
|000056c0| 72 43 61 72 64 20 72 61 | 6e 64 6f 6d 20 6e 75 6d |rCard ra|ndom num|
|000056d0| 62 65 72 20 67 65 6e 65 | 72 61 74 6f 72 20 7d 0d |ber gene|rator }.|
|000056e0| 20 20 20 0d 20 20 20 57 | 49 54 48 20 70 61 72 61 | . W|ITH para|
|000056f0| 6d 50 74 72 5e 20 64 6f | 0d 20 20 20 42 45 47 49 |mPtr^ do|. BEGI|
|00005700| 4e 0d 20 20 20 20 20 20 | 72 65 74 75 72 6e 56 61 |N. |returnVa|
|00005710| 6c 75 65 20 3a 3d 20 50 | 61 73 54 6f 5a 65 72 6f |lue := P|asToZero|
|00005720| 28 42 6f 6f 6c 54 6f 53 | 74 72 28 67 6f 74 4c 61 |(BoolToS|tr(gotLa|
|00005730| 75 6e 63 68 29 29 3b 0d | 20 20 20 45 4e 44 3b 0d |unch));.| END;.|
|00005740| 45 4e 44 3b 0d 0d 0d 45 | 4e 44 2e 0d 0d 0d 0d 00 |END;...E|ND......|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005780| 00 00 01 00 00 00 01 ae | 00 00 00 ae 00 00 00 52 |........|.......R|
|00005790| 3b 0d 09 20 57 48 49 4c | 45 20 63 6f 6d 6d 61 6e |;.. WHIL|E comman|
|000057a0| 64 50 74 72 5e 20 3c 3e | 20 30 20 44 4f 0d 09 20 |dPtr^ <>| 0 DO.. |
|000057b0| 10 67 65 74 6c 61 75 6e | 63 68 73 74 75 66 66 2e |.getlaun|chstuff.|
|000057c0| 70 74 02 00 00 00 54 45 | 58 54 4d 50 53 20 01 00 |pt....TE|XTMPS ..|
|000057d0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 01 80 00 c0 |..TEXTMP|S ......|
|000057e0| 00 00 5e 56 00 00 00 00 | 00 00 00 00 00 00 00 00 |..^V....|........|
|000057f0| 00 00 9d 3e 23 87 00 00 | 56 cf 00 00 02 00 6e 75 |...>#...|V.....nu|
|00005800| 6d 62 65 72 20 2b 20 4f | 52 44 28 63 68 29 20 2d |mber + O|RD(ch) -|
|00005810| 20 4f 52 44 28 27 30 27 | 29 3b 0d 09 09 20 63 6f | ORD('0'|);... co|
|00005820| 6d 6d 61 6e 64 50 74 72 | 20 3a 3d 20 50 6f 69 6e |mmandPtr| := Poin|
|00005830| 74 65 72 28 4f 52 44 28 | 63 6f 6d 6d 61 6e 64 50 |ter(ORD(|commandP|
|00005840| 74 72 29 20 2b 20 31 29 | 3b 0d 09 20 20 20 45 4e |tr) + 1)|;.. EN|
|00005850| 44 3b 0d 09 20 49 46 20 | 6e 75 6d 62 65 72 20 3d |D;.. IF |number =|
|00005860| 20 30 20 54 48 45 4e 20 | 6e 75 6d 62 65 72 20 3a | 0 THEN |number :|
|00005870| 3d 20 31 3b 20 20 20 7b | 20 64 65 66 61 75 6c 74 |= 1; {| default|
|00005880| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 2e 54 6f |...H..Mo|naco..To|
|00005890| 00 00 00 60 70 69 6c 65 | 20 61 6e 64 20 6c 69 6e |...`pile| and lin|
|000058a0| 6b 20 74 68 69 73 00 06 | 00 08 00 44 00 37 01 c3 |k this..|...D.7..|
|000058b0| 02 73 00 44 00 37 01 c3 | 02 73 9d f9 b0 5a 00 00 |.s.D.7..|.s...Z..|
|000058c0| 53 76 00 00 53 a8 00 00 | 00 00 01 00 00 00 00 3f |Sv..S...|.......?|
|000058d0| 03 00 80 00 00 00 03 33 | 2e 30 34 33 2e 30 2c 20 |.......3|.043.0, |
|000058e0| a9 20 57 61 79 6e 65 20 | 42 65 6c 6c 2c 20 31 39 |. Wayne |Bell, 19|
|000058f0| 38 36 2c 20 4d 61 63 20 | 76 65 72 73 69 6f 6e 20 |86, Mac |version |
|00005900| 62 79 20 54 65 72 72 79 | 20 54 65 61 67 75 65 00 |by Terry| Teague.|
|00005910| 00 00 1b 03 00 80 00 00 | 00 03 33 2e 30 10 57 57 |........|..3.0.WW|
|00005920| 49 56 20 4d 61 63 20 42 | 42 53 20 33 2e 30 00 00 |IV Mac B|BS 3.0..|
|00005930| 01 00 00 00 01 ae 00 00 | 00 ae 00 00 00 52 00 02 |........|.....R..|
|00005940| d6 58 06 fc 00 00 00 1c | 00 52 00 01 4d 50 53 52 |.X......|.R..MPSR|
|00005950| 00 00 00 12 76 65 72 73 | 00 01 00 1e 03 ed ff ff |....vers|........|
|00005960| 00 00 00 00 00 00 00 00 | 00 01 ff ff 00 00 00 4c |........|.......L|
|00005970| 00 02 d6 c0 00 02 ff ff | 00 00 00 8f 00 02 d6 6c |........|.......l|
+--------+-------------------------+-------------------------+--------+--------+